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

Unified Diff: test/codegen/expect/methods.js

Issue 1524843002: JS: Format if statements with no else on a single line (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: rebased Created 5 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/codegen/expect/js/js.js ('k') | test/codegen/expect/script.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/methods.js
diff --git a/test/codegen/expect/methods.js b/test/codegen/expect/methods.js
index 660be8b4998fcb40ad6fec2cc4adc519d089ff38..a5d12d1dddb0ead53f2b5f45a94716275ab82d9c 100644
--- a/test/codegen/expect/methods.js
+++ b/test/codegen/expect/methods.js
@@ -17,13 +17,11 @@ dart_library.library('methods', null, /* Imports */[
return a;
}
z(b) {
- if (b === void 0)
- b = null;
+ if (b === void 0) b = null;
return dart.asInt(b);
}
zz(b) {
- if (b === void 0)
- b = 0;
+ if (b === void 0) b = 0;
return b;
}
w(a, opts) {
« no previous file with comments | « test/codegen/expect/js/js.js ('k') | test/codegen/expect/script.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698