diff options
Diffstat (limited to 'test/test_allocator.cpp')
-rw-r--r-- | test/test_allocator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_allocator.cpp b/test/test_allocator.cpp index 6382463..fa32a96 100644 --- a/test/test_allocator.cpp +++ b/test/test_allocator.cpp @@ -39,10 +39,10 @@ TEST(AllocatorTest, TestFudAllocator) ASSERT_TRUE(allocResult.isOkay()); auto* mem = allocResult.getOkay(); ASSERT_NE(mem, nullptr); - ASSERT_EQ(fudAllocator.deallocate(mem, 0), FudStatus::ArgumentInvalid); - ASSERT_EQ(fudAllocator.deallocate(mem, 1), FudStatus::Success); + fudAllocator.deallocate(mem, 0); + fudAllocator.deallocate(mem, 1); mem = nullptr; - ASSERT_EQ(fudAllocator.deallocate(mem, 1), FudStatus::ArgumentInvalid); + fudAllocator.deallocate(mem, 1); FailAllocator failAllocator{}; globalMockFudAlloc.m_allocator = &failAllocator; |