Index: test/mjsunit/messages.js |
diff --git a/test/mjsunit/messages.js b/test/mjsunit/messages.js |
index 013d2739c5d4efe6cf0dc83af3e56e0aca703bf4..7deef0261582e1fef65c6efa7b34b96e67277dfd 100644 |
--- a/test/mjsunit/messages.js |
+++ b/test/mjsunit/messages.js |
@@ -150,7 +150,7 @@ TypeError); |
// kInstanceofFunctionExpected |
test(function() { |
1 instanceof 1; |
-}, "Expecting a function in instanceof check, but got 1", TypeError); |
+}, "Expecting an object in instanceof check", TypeError); |
// kInstanceofNonobjectProto |
test(function() { |