Index: test/splitting/expressions.stmt |
diff --git a/test/splitting/expressions.stmt b/test/splitting/expressions.stmt |
index 55640203258e3eff50a20ada94a5c9a3897475d1..ed1f452bc285c8cb0bbda09e2fa105b97392befc 100644 |
--- a/test/splitting/expressions.stmt |
+++ b/test/splitting/expressions.stmt |
@@ -33,15 +33,15 @@ if (identifier && identifier || |
>>> split conditional because then doesn't fit |
var kind = element != null ? longArgument : arg; |
<<< |
-var kind = element != null ? |
- longArgument : |
- arg; |
+var kind = element != null |
+ ? longArgument |
+ : arg; |
>>> split conditional because else doesn't fit |
var kind = element != null ? argument : secondArgumentThatIsReallyLong; |
<<< |
-var kind = element != null ? |
- argument : |
- secondArgumentThatIsReallyLong; |
+var kind = element != null |
+ ? argument |
+ : secondArgumentThatIsReallyLong; |
>>> unsplit operator chains before and after block |
first + second + () {body;} + third + fourth; |
<<< |
@@ -97,10 +97,10 @@ someFunction( |
>>> conditional operands are nested |
identifier ? identifier ? someParticularlyLongOperand : someParticularlyLongOperand : identifier ? someParticularlyLongOperand : someParticularlyLongOperand; |
<<< |
-identifier ? |
- identifier ? |
- someParticularlyLongOperand : |
- someParticularlyLongOperand : |
- identifier ? |
- someParticularlyLongOperand : |
- someParticularlyLongOperand; |
+identifier |
+ ? identifier |
+ ? someParticularlyLongOperand |
+ : someParticularlyLongOperand |
+ : identifier |
+ ? someParticularlyLongOperand |
+ : someParticularlyLongOperand; |