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

Unified Diff: test/regression/115.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/112.stmt ('k') | test/regression/122.unit » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/regression/115.stmt
diff --git a/test/regression/115.stmt b/test/regression/115.stmt
index 8843ed064205a470d4c013cae319c5ebab5c6b8d..8afac52b47c6e70a9e9110e7110fe53934996bd7 100644
--- a/test/regression/115.stmt
+++ b/test/regression/115.stmt
@@ -24,6 +24,6 @@ assert(
// Indexing send-sets have an argument for the index.
(selector.isIndexSet ? 1 : 0) +
// Non-increment send-sets have one more argument.
- (ast.Operator.INCREMENT_OPERATORS.contains(op.source) ?
- 0 :
- 1) == node.argumentCount());
+ (ast.Operator.INCREMENT_OPERATORS.contains(op.source)
+ ? 0
+ : 1) == node.argumentCount());
« no previous file with comments | « test/regression/112.stmt ('k') | test/regression/122.unit » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698