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

Unified Diff: test/regression/45.stmt

Issue 846133002: Put conditional operators on the left. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Update version. 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/44.stmt ('k') | test/regression/80.unit » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/regression/45.stmt
diff --git a/test/regression/45.stmt b/test/regression/45.stmt
index 071771bff3407104c34b5eff45803d1c92d1c18e..de743a81c55fb1a9bfc7a5e8d88ea545859a81e1 100644
--- a/test/regression/45.stmt
+++ b/test/regression/45.stmt
@@ -5,7 +5,7 @@ foo() {
}
<<<
foo() {
- if (xxxxxxxxxxxxxxxx || xxxxxxxxxxxxxxxxxxxxx) return xxxxxxxxxxxxxx ?
- xxxxxxxxxxxxxxxxxxxx :
- xxxxxxxxxxxxxxxxxxxxxxxxxx;
+ if (xxxxxxxxxxxxxxxx || xxxxxxxxxxxxxxxxxxxxx) return xxxxxxxxxxxxxx
+ ? xxxxxxxxxxxxxxxxxxxx
+ : xxxxxxxxxxxxxxxxxxxxxxxxxx;
}
« no previous file with comments | « test/regression/44.stmt ('k') | test/regression/80.unit » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698