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

Unified Diff: test/mjsunit/messages.js

Issue 1130783002: Migrate error messages, part 9. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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 | « src/runtime/runtime-scopes.cc ('k') | no next file » | 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 5a63e733694aa111bca1fa27d491bc79fb6cae9b..73cc15ac406e349058b4a5ac6be5f7726aa1c3f3 100644
--- a/test/mjsunit/messages.js
+++ b/test/mjsunit/messages.js
@@ -300,6 +300,13 @@ test(function() {
}, "Function arg string contains parenthesis", SyntaxError);
+// === ReferenceError ===
+
+test(function() {
+ "use strict";
+ o;
+}, "o is not defined", ReferenceError);
+
// === RangeError ===
// kArrayLengthOutOfRange
« no previous file with comments | « src/runtime/runtime-scopes.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698