Index: tests/compiler/dart2js_extra/inferrer_is_int_test.dart |
diff --git a/tests/compiler/dart2js_extra/inferrer_is_int_test.dart b/tests/compiler/dart2js_extra/inferrer_is_int_test.dart |
index 6aecf394cd97850c0678fc11759057379bf89e99..445986e676c310961ee98e048006f376a9ff5728 100644 |
--- a/tests/compiler/dart2js_extra/inferrer_is_int_test.dart |
+++ b/tests/compiler/dart2js_extra/inferrer_is_int_test.dart |
@@ -11,20 +11,20 @@ import '../../language/compiler_annotations.dart'; |
@DontInline() |
callWithStringAndDouble(value) { |
() => 42; |
- if (value is !int) throw new ArgumentError(value); |
+ if (value is! int) throw new ArgumentError(value); |
return 42; |
} |
@DontInline() |
callWithDouble(value) { |
() => 42; |
- if (value is !int) throw new ArgumentError(value); |
+ if (value is! int) throw new ArgumentError(value); |
return 42; |
} |
main() { |
- Expect.throws(() => callWithStringAndDouble('foo'), |
- (e) => e is ArgumentError); |
+ Expect.throws( |
+ () => callWithStringAndDouble('foo'), (e) => e is ArgumentError); |
Expect.equals(42, callWithStringAndDouble(0.0)); |
Expect.equals(42, callWithDouble(0.0)); |
} |