Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index dad5d6caf5ca1e79d4e2924b998ce52b818c89c3..5b8417f7717ff0901ac0ad5fb079fc78ecc07d9e 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -19298,8 +19298,7 @@ TEST(AccessCheckThrows) { |
CheckCorrectThrow("%DeleteProperty_Sloppy(other, '1')"); |
CheckCorrectThrow("%DeleteProperty_Strict(other, '1')"); |
CheckCorrectThrow("%HasOwnProperty(other, 'x')"); |
- CheckCorrectThrow("%HasProperty(other, 'x')"); |
- CheckCorrectThrow("%HasElement(other, 1)"); |
+ CheckCorrectThrow("%HasProperty('x', other)"); |
CheckCorrectThrow("%IsPropertyEnumerable(other, 'x')"); |
// PROPERTY_ATTRIBUTES_NONE = 0 |
CheckCorrectThrow("%DefineAccessorPropertyUnchecked(" |