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

Unified Diff: test/webkit/parser-xml-close-comment.js

Issue 2119763003: Recognize HTMLCloseComment after multiline comment (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix test/webkit/parser-xml-close-comment Created 4 years, 5 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/cctest/test-parsing.cc ('k') | test/webkit/parser-xml-close-comment-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/webkit/parser-xml-close-comment.js
diff --git a/test/webkit/parser-xml-close-comment.js b/test/webkit/parser-xml-close-comment.js
index d3f458f6594d4847ec8a9f2ab6261a2efdb58137..a42da24e81409957bccb7d3892e91536ed070e00 100644
--- a/test/webkit/parser-xml-close-comment.js
+++ b/test/webkit/parser-xml-close-comment.js
@@ -26,7 +26,7 @@ description("Test to ensure correct handling of --> as a single line comment whe
shouldThrow("'should be a syntax error' -->");
shouldThrow("/**/ 1 -->");
shouldThrow("1 /**/ -->");
-shouldThrow("1/*\n*/-->");
+shouldBe("1/*\n*/-->", "1");
shouldBeUndefined("-->");
shouldBeUndefined("/**/-->");
« no previous file with comments | « test/cctest/test-parsing.cc ('k') | test/webkit/parser-xml-close-comment-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698