Index: tests/language_strong/type_variable_bounds2_test.dart |
diff --git a/tests/language_strong/type_variable_bounds2_test.dart b/tests/language_strong/type_variable_bounds2_test.dart |
index c3375d26d673bd3c25c9624252fa7b21325869b2..5d452fb59f9bcbfa93619935d67b901961f6b00a 100644 |
--- a/tests/language_strong/type_variable_bounds2_test.dart |
+++ b/tests/language_strong/type_variable_bounds2_test.dart |
@@ -6,12 +6,11 @@ import "package:expect/expect.dart"; |
// Test of parameterized types with invalid bounds. |
-abstract class J<T> {} |
+abstract class J<T> { } |
-abstract class K<T> {} |
+abstract class K<T> { } |
-abstract class I< |
- T |
+abstract class I<T |
extends num //# 00: continued |
extends num //# 01: continued |
extends num //# 02: continued |
@@ -19,9 +18,10 @@ abstract class I< |
extends num //# 04: continued |
extends num //# 05: continued |
extends num //# 06: continued |
- > {} |
+> { } |
-class A<T> implements I<T>, J<T> {} |
+class A<T> implements I<T>, J<T> { |
+} |
main() { |
var a = new A<String>(); |
@@ -58,6 +58,6 @@ main() { |
Expect.isTrue(a is J); |
// In both production and checked modes, A<int> is not a subtype of K. |
- Expect.isTrue(a is! K); |
+ Expect.isTrue(a is !K); |
} |
} |