Skip to content

Commit

Permalink
Fix allocator test
Browse files Browse the repository at this point in the history
  • Loading branch information
miloyip committed Apr 16, 2015
1 parent 67a3ee3 commit a7763cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unittest/allocatorstest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ TEST(Allocator, MemoryPoolAllocator) {
MemoryPoolAllocator<> a;
TestAllocator(a);

for (int i = 0; i < 1000; i++) {
for (int i = 1; i < 1000; i++) {
EXPECT_TRUE(a.Malloc(i) != 0);
EXPECT_LE(a.Size(), a.Capacity());
}
Expand Down

0 comments on commit a7763cb

Please sign in to comment.