Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 5c7bac6d7ef3d4db2dd9cd3b3d402e44c9b45e1a..3d8af9f3f21261040178df44d484b4f8e44c13e3 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -19356,7 +19356,7 @@ TEST(AccessCheckThrows) { |
CheckCorrectThrow("other[1]"); |
CheckCorrectThrow("JSON.stringify(other)"); |
CheckCorrectThrow("has_own_property(other, 'x')"); |
- CheckCorrectThrow("%GetProperty(other, 'x', 0)"); |
+ CheckCorrectThrow("%GetProperty(other, 'x')"); |
CheckCorrectThrow("%SetProperty(other, 'x', 'foo', 0)"); |
CheckCorrectThrow("%AddNamedProperty(other, 'x', 'foo', 1)"); |
CheckCorrectThrow("%DeleteProperty(other, 'x', 0)"); |