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

Unified Diff: test/codegen/expect/constructors.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/collection/wrappers.js ('k') | test/codegen/expect/expect.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/constructors.js
diff --git a/test/codegen/expect/constructors.js b/test/codegen/expect/constructors.js
index 37e6ecc2f5f4ead48c6df6f087986cf59e471a7e..f4afd401c9f89685052299591712be2625cea9e2 100644
--- a/test/codegen/expect/constructors.js
+++ b/test/codegen/expect/constructors.js
@@ -61,8 +61,7 @@ dart_library.library('constructors', null, /* Imports */[
});
class G extends core.Object {
G(p1) {
- if (p1 === void 0)
- p1 = null;
+ if (p1 === void 0) p1 = null;
}
}
dart.setSignature(G, {
« no previous file with comments | « test/codegen/expect/collection/wrappers.js ('k') | test/codegen/expect/expect.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698