diff --git a/test/entt/entity/table.cpp b/test/entt/entity/table.cpp index fde6dbc40..ed8612964 100644 --- a/test/entt/entity/table.cpp +++ b/test/entt/entity/table.cpp @@ -498,15 +498,10 @@ TEST(Table, ThrowingAllocator) { table.get_allocator().template throw_counter(0u); ASSERT_THROW(table.reserve(1u), test::throwing_allocator_exception); - ASSERT_EQ(table.capacity(), 0u); + table.get_allocator().template throw_counter(0u); table.get_allocator().template throw_counter(0u); ASSERT_THROW(table.emplace(), test::throwing_allocator_exception); - ASSERT_TRUE(table.empty()); - - table.get_allocator().template throw_counter(0u); - ASSERT_THROW(table.emplace(3, 'c'), test::throwing_allocator_exception); - ASSERT_TRUE(table.empty()); }