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

Unified Diff: test/lexer/cornercases/utf-endlines.js

Issue 85333002: Experimental parser: Test file fix. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 7 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/lexer/cornercases/utf-endlines.js
diff --git a/test/lexer/cornercases/utf-endlines.js b/test/lexer/cornercases/utf-endlines.js
index 8ac1ee2fa895d691403ed0f6865a7dfd312b9a8c..d5987db6cddca3f92449732d4153fd86252b73af 100644
--- a/test/lexer/cornercases/utf-endlines.js
+++ b/test/lexer/cornercases/utf-endlines.js
@@ -30,6 +30,7 @@
// This file tests if it's recognized after various Unicode new line markers:
+// Recognized as a newline (the break keyword not seen).
"Line feed":
--> break
@@ -39,17 +40,19 @@
// Form feed is not recognized as a newline.
"Form feed": --> catch
+// Recognized as a newline.
"Carriage return":
--> const
+// Recognized as a newline.
"Carriage return and line feed:"
--> continue
-// Next line is not regonized as a newline, instead it's recognized as an identifier.
+// Recognized as a newline.
"Next line":…
--> debugger
-// Line separator is not recognized as a newline, instead it's ILLEGAL.
-//"Line separator":
--> default
+// Recognized as a newline.
+"Line separator":
--> default
-// Paragraph separator is not recognized as a newline, instead it's ILLEGAL.
-//"Paragraph separator":
--> delete
+// Recognized as a newline.
+"Paragraph separator":
--> delete
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698