Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 6b954bd12ac284b24cc7690e3ab8eb0c2caaaca0..64d7a789de8cae5c22a25adb2392e61d366ded1f 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -5495,7 +5495,7 @@ TEST(OldSpaceAllocationCounter) { |
CHECK_LE(kSize, counter2 - counter1); |
heap->CollectGarbage(NEW_SPACE); |
size_t counter3 = heap->OldGenerationAllocationCounter(); |
- CHECK_LE(0, counter3 - counter2); |
+ CHECK_EQ(0u, counter3 - counter2); |
AllocateInSpace(isolate, kSize, OLD_SPACE); |
heap->CollectGarbage(OLD_SPACE); |
size_t counter4 = heap->OldGenerationAllocationCounter(); |