| Index: test/cctest/test-spaces.cc
|
| diff --git a/test/cctest/test-spaces.cc b/test/cctest/test-spaces.cc
|
| index 8132990c9a21427036a920d0ab0b32e8ff0fd194..b2d29654e2bb84317d49727a9291fccd84afba95 100644
|
| --- a/test/cctest/test-spaces.cc
|
| +++ b/test/cctest/test-spaces.cc
|
| @@ -620,7 +620,7 @@ UNINITIALIZED_TEST(NewSpaceGrowsToTargetCapacity) {
|
| // This test doesn't work if we start with a non-default new space
|
| // configuration.
|
| if (new_space->InitialTotalCapacity() == Page::kPageSize) {
|
| - CHECK(new_space->CommittedMemory() == new_space->InitialTotalCapacity());
|
| + CHECK_EQ(new_space->CommittedMemory(), new_space->InitialTotalCapacity());
|
|
|
| // Fill up the first (and only) page of the semi space.
|
| FillCurrentPage(new_space);
|
| @@ -631,7 +631,7 @@ UNINITIALIZED_TEST(NewSpaceGrowsToTargetCapacity) {
|
| v8::internal::AllocationResult allocation =
|
| new_space->AllocateRawUnaligned(80);
|
| CHECK(!allocation.IsRetry());
|
| - CHECK(new_space->CommittedMemory() == 2 * Page::kPageSize);
|
| + CHECK_EQ(new_space->CommittedMemory(), 2 * Page::kPageSize);
|
|
|
| // Turn the allocation into a proper object so isolate teardown won't
|
| // crash.
|
|
|