diff --git a/test/unit/hibf/bit_vector_test.cpp b/test/unit/hibf/bit_vector_test.cpp index 1734b39b..051b27d9 100644 --- a/test/unit/hibf/bit_vector_test.cpp +++ b/test/unit/hibf/bit_vector_test.cpp @@ -733,7 +733,7 @@ TEST(bit_vector_test, flip_single_bit) EXPECT_FALSE(test_vector[63]); EXPECT_FALSE(test_vector[64]); - EXPECT_THROW(test_vector.flip(250), std::out_of_range); + EXPECT_THROW(test_vector.flip(250), std::exception); } // ----------------------------------------------------------------------------