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

Unified Diff: test/mjsunit/html-comments.js

Issue 8888006: Make more JS files beter match the coding standard. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years 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
Index: test/mjsunit/html-comments.js
diff --git a/test/mjsunit/html-comments.js b/test/mjsunit/html-comments.js
index cc2315b0f2a93fbc570f8e22895ea73edf105b0e..c10327807989585cbf616012be4e62bcffce429e 100644
--- a/test/mjsunit/html-comments.js
+++ b/test/mjsunit/html-comments.js
@@ -35,13 +35,13 @@ x-->0;
assertEquals(0, x, 'a');
-var x = 0; x <!-- x
+var x = 0; x; <!-- x
assertEquals(0, x, 'b');
-var x = 1; x <!--x
+var x = 1; x; <!--x
assertEquals(1, x, 'c');
-var x = 2; x <!-- x; x = 42;
+var x = 2; x; <!-- x; x = 42;
assertEquals(2, x, 'd');
var x = 1; x <! x--;
Rico 2011/12/08 10:24:37 why not ; here and below
Lasse Reichstein 2011/12/08 12:33:18 Actually, it shouldn't be above either. This test

Powered by Google App Engine
This is Rietveld 408576698