Remove erroneous asserts from the test suite

These asserts were erroneously being removed in release builds of the tests which is never the intention
This commit is contained in:
Christian Mazakas
2023-06-19 09:21:48 -07:00
parent 2eebe157fd
commit b2a4b22c89
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ namespace erase_tests {
typename Container::key_type key = test::get_key<Container>(*x.begin());
std::size_t count = x.count(key);
iterator pos = x.erase(x.begin());
BOOST_ASSERT(BOOST_TEST(pos == x.begin()));
BOOST_TEST(pos == x.begin());
--size;
BOOST_TEST(x.count(key) == count - 1);
BOOST_TEST(x.size() == size);