Index: test/mjsunit/messages.js |
diff --git a/test/mjsunit/messages.js b/test/mjsunit/messages.js |
index ff91185a7270a6025302e8f8e44f912a262b74f5..3281fc897d68d1f21280814e16d471c655c7bf0d 100644 |
--- a/test/mjsunit/messages.js |
+++ b/test/mjsunit/messages.js |
@@ -28,7 +28,7 @@ test(function() { |
// kApplyNonFunction |
test(function() { |
- Function.prototype.apply.call(1, []); |
+ Reflect.apply(1, []); |
}, "Function.prototype.apply was called on 1, which is a number " + |
"and not a function", TypeError); |