mirror of
https://github.com/boostorg/unordered.git
synced 2025-10-16 09:25:25 +02:00
Use 'limited_range' to catch error in exception tests
This would have caught the error fixed in 3fe259a79e
.
This commit is contained in:
@@ -14,7 +14,9 @@ test::seed_t initialize_seed(835193);
|
||||
template <class T> struct erase_test_base : public test::exception_base
|
||||
{
|
||||
test::random_values<T> values;
|
||||
erase_test_base(unsigned int count = 5) : values(count) {}
|
||||
erase_test_base(unsigned int count = 5) : values(count, test::limited_range)
|
||||
{
|
||||
}
|
||||
|
||||
typedef T data_type;
|
||||
|
||||
|
Reference in New Issue
Block a user