Index: tests/language_strong/generic_inheritance_test.dart |
diff --git a/tests/language_strong/generic_inheritance_test.dart b/tests/language_strong/generic_inheritance_test.dart |
index fec8adb6343264dcf6c7713734e530e1cb8edd7b..404723a2548e94fcc1a5491fb60c799e2f92ec3f 100644 |
--- a/tests/language_strong/generic_inheritance_test.dart |
+++ b/tests/language_strong/generic_inheritance_test.dart |
@@ -7,9 +7,17 @@ |
import "package:expect/expect.dart"; |
-class A<T> { A(); } |
-class B extends A<Object> { B(); } |
-class C extends B { C(); } |
+class A<T> { |
+ A(); |
+} |
+ |
+class B extends A<Object> { |
+ B(); |
+} |
+ |
+class C extends B { |
+ C(); |
+} |
main() { |
var a = new A<String>(); |
@@ -18,13 +26,13 @@ main() { |
Expect.isTrue(a is Object); |
Expect.isTrue(a is A<Object>); |
Expect.isTrue(a is A<String>); |
- Expect.isTrue(a is !A<int>); |
+ Expect.isTrue(a is! A<int>); |
Expect.isTrue(b is Object); |
Expect.isTrue(b is A<Object>); |
- Expect.isTrue(b is !A<String>); |
+ Expect.isTrue(b is! A<String>); |
Expect.isTrue(b is Object); |
Expect.isTrue(c is Object); |
Expect.isTrue(c is A<Object>); |
- Expect.isTrue(c is !A<String>); |
+ Expect.isTrue(c is! A<String>); |
Expect.isTrue(c is B); |
} |