Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1723)

Unified Diff: test/mjsunit/messages.js

Issue 1822663002: [es6] Rebaseline tests of 'instanceof' error messages. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_instanceof-prepare-tests-1
Patch Set: One more test. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/message/instanceof-nonobject.out ('k') | test/webkit/exception-for-nonobject.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/messages.js
diff --git a/test/mjsunit/messages.js b/test/mjsunit/messages.js
index b245bc2b555bdfade9ed1efd672ec5a04730db6e..27755846b92d1f88a648ba0ed10f315ee723233f 100644
--- a/test/mjsunit/messages.js
+++ b/test/mjsunit/messages.js
@@ -150,7 +150,7 @@ TypeError);
// kInstanceofFunctionExpected
test(function() {
1 instanceof 1;
-}, "right-hand side is not an object", TypeError);
+}, "Right-hand side of 'instanceof' is not an object", TypeError);
// kInstanceofNonobjectProto
test(function() {
« no previous file with comments | « test/message/instanceof-nonobject.out ('k') | test/webkit/exception-for-nonobject.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698