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

Unified Diff: test/regression/33.stmt

Issue 791113002: Regression test for #45 which is doing pretty much what we want the formatter to do already. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Created 6 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/formatter_test.dart ('k') | test/regression/45.stmt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/regression/33.stmt
diff --git a/test/regression/33.stmt b/test/regression/33.stmt
new file mode 100644
index 0000000000000000000000000000000000000000..1dd19162b97353ca9c943b335056717d474314dc
--- /dev/null
+++ b/test/regression/33.stmt
@@ -0,0 +1,12 @@
+>>> (indent 4)
+ if (maximumIntegerDigits >
+ 1 && maximumIntegerDigits > minimumIntegerDigits) {}
+<<<
+ if (maximumIntegerDigits > 1 &&
+ maximumIntegerDigits > minimumIntegerDigits) {}
+>>> (indent 4)
+ while (fractionCodes[fractionLength -
+ 1] == _zero && fractionLength > minimumFractionDigits + 1) {}
+<<<
+ while (fractionCodes[fractionLength - 1] == _zero &&
+ fractionLength > minimumFractionDigits + 1) {}
« no previous file with comments | « test/formatter_test.dart ('k') | test/regression/45.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698