Index: tests/language_strong/logical_expression2_test.dart |
diff --git a/tests/language_strong/logical_expression2_test.dart b/tests/language_strong/logical_expression2_test.dart |
index 7d6ddd5244ba88d1381dc6a840d347ff8bb0049c..04a05e94356ac0615bf4d17518d73f17ca59bc98 100644 |
--- a/tests/language_strong/logical_expression2_test.dart |
+++ b/tests/language_strong/logical_expression2_test.dart |
@@ -19,12 +19,11 @@ int confuse(x) { |
} |
main() { |
- var o = [ "foo", 499 ][confuse(1)]; |
+ var o = ["foo", 499][confuse(1)]; |
// The `o is String` check in the rhs of the logical or must not be |
// propagated to the `if` body. |
- if ((o is num) || |
- (o is String && true)) { |
+ if ((o is num) || (o is String && true)) { |
nonInlinedUse(o); |
} |
Expect.equals(1, globalCounter); |