Index: test/cctest/test-spaces.cc |
diff --git a/test/cctest/test-spaces.cc b/test/cctest/test-spaces.cc |
index e6680a62f222b2c449c16b60f9021f93aff7df46..16d1e8a762c0981254784b350273d6ac347a85c3 100644 |
--- a/test/cctest/test-spaces.cc |
+++ b/test/cctest/test-spaces.cc |
@@ -430,8 +430,7 @@ |
// and would thus neither grow, nor be able to allocate an object. |
const int kNumObjects = 100; |
const int kExpectedPages = (kNumObjects / (compaction_space->AreaSize() / |
- Page::kMaxRegularHeapObjectSize)) + |
- 1; |
+ Page::kMaxRegularHeapObjectSize)); |
for (int i = 0; i < kNumObjects; i++) { |
compaction_space->AllocateRawUnaligned(Page::kMaxRegularHeapObjectSize) |
.ToObjectChecked(); |