| Index: tests/language/logical_expression3_test.dart
|
| diff --git a/tests/language/logical_expression3_test.dart b/tests/language/logical_expression3_test.dart
|
| index 2a90d70ba672871c4b495dc86c4064a3ed0c1072..c207afb8059d096b3245d6a4c9f54584d0cfa12e 100644
|
| --- a/tests/language/logical_expression3_test.dart
|
| +++ b/tests/language/logical_expression3_test.dart
|
| @@ -17,13 +17,12 @@ int confuse(x) {
|
| }
|
|
|
| main() {
|
| - var o = [ "foo", 499 ][confuse(0)];
|
| + var o = ["foo", 499][confuse(0)];
|
|
|
| // When the lhs of a logical or fails, it must not assume that all negative is
|
| // checks in it, have failed.
|
| // Here, the `o is! num` check succeeds, but the length test failed.
|
| - if ((o is! num && o.length == 4) ||
|
| - (nonInlinedNumTypeCheck(o))) {
|
| + if ((o is! num && o.length == 4) || (nonInlinedNumTypeCheck(o))) {
|
| Expect.fail("Type-check failed");
|
| }
|
| }
|
|
|