Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 3e71010b161d8c21967c384028a29bd1c5019724..e959f06f1e25830d471935dbe1a26e4368fdf9c5 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -22352,7 +22352,7 @@ TEST(AccessCheckThrows) { |
CheckCorrectThrow("%DeleteProperty_Sloppy(other, '1')"); |
CheckCorrectThrow("%DeleteProperty_Strict(other, '1')"); |
CheckCorrectThrow("Object.prototype.hasOwnProperty.call(other, 'x')"); |
- CheckCorrectThrow("%HasProperty('x', other)"); |
+ CheckCorrectThrow("%HasProperty(other, 'x')"); |
CheckCorrectThrow("Object.prototype.propertyIsEnumerable(other, 'x')"); |
// PROPERTY_ATTRIBUTES_NONE = 0 |
CheckCorrectThrow("%DefineAccessorPropertyUnchecked(" |