Index: test/cctest/test-heap-profiler.cc |
diff --git a/test/cctest/test-heap-profiler.cc b/test/cctest/test-heap-profiler.cc |
index 44cd6094f341c164ef54db1cb84fb8ff9d50d162..3f5e07d5b3dc48db1595625e4a434d1bee5b8e39 100644 |
--- a/test/cctest/test-heap-profiler.cc |
+++ b/test/cctest/test-heap-profiler.cc |
@@ -424,7 +424,7 @@ TEST(HeapEntryIdsAndGC) { |
const v8::HeapSnapshot* snapshot2 = |
v8::HeapProfiler::TakeSnapshot(s2_str); |
- CHECK(snapshot1->GetMaxSnapshotJSObjectId() > 7000); |
+ CHECK_GT(snapshot1->GetMaxSnapshotJSObjectId(), 7000); |
CHECK(snapshot1->GetMaxSnapshotJSObjectId() <= |
snapshot2->GetMaxSnapshotJSObjectId()); |