Skip to content

Commit

Permalink
debug why does EXPECT_THROW not work??
Browse files Browse the repository at this point in the history
  • Loading branch information
eseiler committed Sep 18, 2024
1 parent 4a3c66a commit f77e630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/hibf/bit_vector_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

// ----------------------------------------------------------------------------
Expand Down

0 comments on commit f77e630

Please sign in to comment.