Index: test/cctest/test-weaksets.cc |
diff --git a/test/cctest/test-weaksets.cc b/test/cctest/test-weaksets.cc |
index 0de63b9228fe529b5d8dbf02e852f5e1c6ce94b8..643bb48ab1aa497d6a04e3ac16f38dbe3767082f 100644 |
--- a/test/cctest/test-weaksets.cc |
+++ b/test/cctest/test-weaksets.cc |
@@ -123,8 +123,8 @@ |
heap->CollectAllGarbage(false); |
CHECK_EQ(1, NumberOfWeakCalls); |
CHECK_EQ(0, ObjectHashTable::cast(weakset->table())->NumberOfElements()); |
- CHECK_EQ(0, |
- ObjectHashTable::cast(weakset->table())->NumberOfDeletedElements()); |
+ CHECK_EQ( |
+ 1, ObjectHashTable::cast(weakset->table())->NumberOfDeletedElements()); |
} |