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

Unified Diff: test/splitting/constructors.unit

Issue 826393005: Try to keep constructor calls together. Fix #119. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Created 5 years, 11 months 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/regression/119.stmt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/splitting/constructors.unit
diff --git a/test/splitting/constructors.unit b/test/splitting/constructors.unit
index 8687d3c3c6a56afa758fb4e818a1e4b02d0ee3f2..02862c4ae5340a1cfa239819daeb5b6056ff65f9 100644
--- a/test/splitting/constructors.unit
+++ b/test/splitting/constructors.unit
@@ -31,4 +31,10 @@ class Foo extends Bar {
Foo(int a, int b)
: super(a),
this.b = b == null ? 0 : b;
-}
+}
+>>> try to keep constructor call together
+var longIdentifier = new Thing(
+ argument, argument);
+<<<
+var longIdentifier =
+ new Thing(argument, argument);
« no previous file with comments | « test/regression/119.stmt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698