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

Unified Diff: test/mjsunit/break.js

Issue 8888006: Make more JS files beter match the coding standard. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments 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
« no previous file with comments | « test/mjsunit/assert-opt-and-deopt.js ('k') | test/mjsunit/bugs/618.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/break.js
diff --git a/test/mjsunit/break.js b/test/mjsunit/break.js
index 741263d9e3533dccbc1cd721e4bccde2610642e3..57207c98b1281d3b2376cbe8fb40b783251b6aa0 100644
--- a/test/mjsunit/break.js
+++ b/test/mjsunit/break.js
@@ -30,7 +30,7 @@ function f() {
var c = 0;
while (i-- > 0) {
c++;
- if (i == 5) ;
+ if (i == 5) { }
}
assertEquals(10, c);
}
@@ -56,10 +56,12 @@ function f3() {
var j = 10;
inner1: inner2: inner3: while (j-- > 0) {
c++;
- if (i == 8)
+ if (i == 8) {
break inner2;
- if (i == 6)
+ }
+ if (i == 6) {
break outer;
+ }
}
}
assertEquals(22, c);
« no previous file with comments | « test/mjsunit/assert-opt-and-deopt.js ('k') | test/mjsunit/bugs/618.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698