Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index a00eb0de5a47c908c55384af8ce25fa83c8ac13c..1a1879e8ef6f47ef689fcd68eb46e9df6879c8c4 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -2045,8 +2045,7 @@ THREADED_TEST(ExecutableAccessorIsPreservedOnAttributeChange) { |
i::LookupResult lookup(i_isolate); |
i::Handle<i::String> name(v8::Utils::OpenHandle(*v8_str("length"))); |
i::LookupIterator it(a, name, i::LookupIterator::OWN_SKIP_INTERCEPTOR); |
- CHECK_NE(i::LookupIterator::ACCESS_CHECK, it.state()); |
- CHECK(it.HasProperty()); |
+ CHECK_EQ(i::LookupIterator::ACCESSOR, it.state()); |
CHECK(it.GetAccessors()->IsExecutableAccessorInfo()); |
} |