Index: tests/language_strong/isnot_malformed_type_test.dart |
diff --git a/tests/language_strong/isnot_malformed_type_test.dart b/tests/language_strong/isnot_malformed_type_test.dart |
index 867e9f7b9d1dae62c83692656b3d96422af62511..147ffe64f8e90f306b80ea23404b879ef3cf27f1 100644 |
--- a/tests/language_strong/isnot_malformed_type_test.dart |
+++ b/tests/language_strong/isnot_malformed_type_test.dart |
@@ -6,9 +6,9 @@ import 'package:expect/expect.dart'; |
f(obj) { |
// 'Baz' is not loaded, throws a type error on test. |
- return (obj is !Baz); |
+ return (obj is! Baz); |
} |
-main () { |
+main() { |
Expect.throws(() => f(null), (e) => e is TypeError); |
} |