Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 1121210760cdb39b89e72224d6cb02f8fe59ebde..34d70b61d012f77286f504a2ef06587a741d663c 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -6664,7 +6664,7 @@ THREADED_TEST(ShadowObject) { |
context->Global()->Set(v8_str("__proto__"), o); |
Local<Value> value = |
- Script::Compile(v8_str("propertyIsEnumerable(0)"))->Run(); |
+ Script::Compile(v8_str("this.propertyIsEnumerable(0)"))->Run(); |
CHECK(value->IsBoolean()); |
CHECK(!value->BooleanValue()); |