Index: test/cctest/test-dictionary.cc |
diff --git a/test/cctest/test-dictionary.cc b/test/cctest/test-dictionary.cc |
index c70436309d8b5e99cf277a8634ae2f27c3833615..a46e4f4ea798997c31ef07b67f1b3a67093db0e0 100644 |
--- a/test/cctest/test-dictionary.cc |
+++ b/test/cctest/test-dictionary.cc |
@@ -134,7 +134,7 @@ TEST(ObjectHashTableCausesGC) { |
FLAG_gc_interval = 0; |
// Calling Lookup() should not cause GC ever. |
- CHECK(table->Lookup(*key)->IsUndefined()); |
+ CHECK(table->Lookup(*key)->IsTheHole()); |
// Calling Put() should request GC by returning a failure. |
CHECK(table->Put(*key, *key)->IsRetryAfterGC()); |