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

Unified Diff: test/mjsunit/no-semicolon.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/no-semicolon.js
diff --git a/test/mjsunit/no-semicolon.js b/test/mjsunit/no-semicolon.js
index 273ec4bccbb53d35054748bdbe17f0c984f209f9..33b25cdb7808fb4ede6fe4a05528c6580e0b82d3 100644
--- a/test/mjsunit/no-semicolon.js
+++ b/test/mjsunit/no-semicolon.js
@@ -28,18 +28,18 @@
// Random tests to make sure you can leave out semicolons
// in various places.
Rico 2011/12/08 10:24:37 I don't think we wan't to add these in this file,
Lasse Reichstein 2011/12/08 12:33:18 Whoops, agree.
-function f() { return }
+function f() { return; }
function g() {
- return
+ return;
4;
}
assertTrue(f() === void 0);
assertTrue(g() === void 0);
-for (var i = 0; i < 10; i++) { break }
+for (var i = 0; i < 10; i++) { break; }
assertEquals(0, i);
-for (var i = 0; i < 10; i++) { continue }
+for (var i = 0; i < 10; i++) { continue; }
assertEquals(10, i);

Powered by Google App Engine
This is Rietveld 408576698