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

Unified Diff: test/codegen/expect/closure.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/DeltaBlue.js ('k') | test/codegen/expect/collection/algorithms.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/closure.js
diff --git a/test/codegen/expect/closure.js b/test/codegen/expect/closure.js
index f1d937d8dcfb8edd7d4f8dba1f18e979f266d620..9f08422f1b81dd2c63ad170ce5e124042e24161b 100644
--- a/test/codegen/expect/closure.js
+++ b/test/codegen/expect/closure.js
@@ -56,10 +56,8 @@ dart_library.library('closure', null, /* Imports */[
* @param {?=} c
*/
optional_params(a, b, c) {
- if (b === void 0)
- b = null;
- if (c === void 0)
- c = null;
+ if (b === void 0) b = null;
+ if (c === void 0) c = null;
}
/**
* @param {?} a
« no previous file with comments | « test/codegen/expect/DeltaBlue.js ('k') | test/codegen/expect/collection/algorithms.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698