Remember to disable exceptions before checking final value

This commit is contained in:
Daniel James
2017-05-05 00:46:07 +01:00
parent 47a8c3fc67
commit 6ef17a0f0e
8 changed files with 58 additions and 9 deletions

View File

@@ -44,8 +44,9 @@ template <class T> struct erase_by_key_test1 : public erase_test_base<T>
x.erase(test::get_key<T>(*it));
}
DISABLE_EXCEPTIONS;
BOOST_TEST(x.empty());
test::check_equivalent_keys(x);
test::check_equivalent_keys(x);
}
};