Index: test/mjsunit/messages.js |
diff --git a/test/mjsunit/messages.js b/test/mjsunit/messages.js |
index 16cf99037f64a3661f453c924b37107bde4e7b8b..b245bc2b555bdfade9ed1efd672ec5a04730db6e 100644 |
--- a/test/mjsunit/messages.js |
+++ b/test/mjsunit/messages.js |
@@ -3,7 +3,7 @@ |
// found in the LICENSE file. |
// Flags: --stack-size=100 --harmony --harmony-reflect --harmony-regexps |
-// Flags: --harmony-simd |
+// Flags: --harmony-simd --harmony-instanceof |
function test(f, expected, type) { |
try { |
@@ -150,7 +150,7 @@ TypeError); |
// kInstanceofFunctionExpected |
test(function() { |
1 instanceof 1; |
-}, "Expecting an object in instanceof check", TypeError); |
+}, "right-hand side is not an object", TypeError); |
// kInstanceofNonobjectProto |
test(function() { |