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

Unified Diff: packages/dart_style/test/splitting/statements.stmt

Issue 2990843002: Removed fixed dependencies (Closed)
Patch Set: Created 3 years, 5 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
Index: packages/dart_style/test/splitting/statements.stmt
diff --git a/packages/dart_style/test/splitting/statements.stmt b/packages/dart_style/test/splitting/statements.stmt
index b140854f481c2df2ae1cce22170077fd1cbe379d..add34c299f0fe45af67198b77be37e9731e18fef 100644
--- a/packages/dart_style/test/splitting/statements.stmt
+++ b/packages/dart_style/test/splitting/statements.stmt
@@ -8,6 +8,26 @@ assert("some very long string that wraps");
<<<
assert(
"some very long string that wraps");
+>>> single-line assert with message
+assert(true, "blah");
+<<<
+assert(true, "blah");
+>>> split assert with message before both
+assert(true, "looong string that wraps");
+<<<
+assert(
+ true, "looong string that wraps");
+>>> split assert with message after first
+assert(veryLongCondition, "long string that wraps");
+<<<
+assert(veryLongCondition,
+ "long string that wraps");
+>>> split assert with message at both
+assert(veryVeryVeryVeryVeryLongCondition, "long string that wraps");
+<<<
+assert(
+ veryVeryVeryVeryVeryLongCondition,
+ "long string that wraps");
>>> split in do-while condition
do {} while ("some long string that wraps");
<<<
« no previous file with comments | « packages/dart_style/test/splitting/parameters.unit ('k') | packages/dart_style/test/splitting/type_arguments.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698