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

Side by Side Diff: test/regression/45.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 unified diff | Download patch
« no previous file with comments | « test/regression/33.stmt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 >>> doesn't wrap after condition on single-line ifs
2 foo() {
3 if (xxxxxxxxxxxxxxxx || xxxxxxxxxxxxxxxxxxxxx)
4 return xxxxxxxxxxxxxx ? xxxxxxxxxxxxxxxxxxxx : xxxxxxxxxxxxxxxxxxxxxxxxxx;
5 }
6 <<<
7 foo() {
8 if (xxxxxxxxxxxxxxxx || xxxxxxxxxxxxxxxxxxxxx) return xxxxxxxxxxxxxx ?
9 xxxxxxxxxxxxxxxxxxxx : xxxxxxxxxxxxxxxxxxxxxxxxxx;
10 }
OLDNEW
« no previous file with comments | « test/regression/33.stmt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698