Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 625117205a689d4fd046e55ee1dbed03dc5ec87c..f4b410b59123caa9eb04570acc3cc74c706c5d27 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -21634,7 +21634,7 @@ TEST(AccessCheckThrows) { |
CheckCorrectThrow("has_own_property(other, 'x')"); |
CheckCorrectThrow("%GetProperty(other, 'x')"); |
CheckCorrectThrow("%SetProperty(other, 'x', 'foo', 0)"); |
- CheckCorrectThrow("%AddProperty(other, 'x', 'foo', 1)"); |
+ CheckCorrectThrow("%AddNamedProperty(other, 'x', 'foo', 1)"); |
CheckCorrectThrow("%DeleteProperty(other, 'x', 0)"); |
CheckCorrectThrow("%DeleteProperty(other, '1', 0)"); |
CheckCorrectThrow("%HasOwnProperty(other, 'x')"); |