Index: tests/lib_strong/mirrors/new_instance_with_type_arguments_test.dart |
diff --git a/tests/lib_strong/mirrors/new_instance_with_type_arguments_test.dart b/tests/lib_strong/mirrors/new_instance_with_type_arguments_test.dart |
index 2885bbbda578e91db8d8999d8f11cd4d69211c5d..aa7df8a5ae0e612c460adb5468f3bd5822b2dd99 100644 |
--- a/tests/lib_strong/mirrors/new_instance_with_type_arguments_test.dart |
+++ b/tests/lib_strong/mirrors/new_instance_with_type_arguments_test.dart |
@@ -11,7 +11,9 @@ import 'package:expect/expect.dart'; |
class A<T> { |
Type get t => T; |
} |
+ |
class B extends A<int> {} |
+ |
class C<S> extends A<num> { |
Type get s => S; |
} |
@@ -38,12 +40,9 @@ main() { |
var reflective_a_int = |
cmB.superclass.newInstance(const Symbol(''), []).reflectee; |
- var reflective_a_dynamic = |
- cmA.newInstance(const Symbol(''), []).reflectee; |
- var reflective_b = |
- cmB.newInstance(const Symbol(''), []).reflectee; |
- var reflective_c_dynamic = |
- cmC.newInstance(const Symbol(''), []).reflectee; |
+ var reflective_a_dynamic = cmA.newInstance(const Symbol(''), []).reflectee; |
+ var reflective_b = cmB.newInstance(const Symbol(''), []).reflectee; |
+ var reflective_c_dynamic = cmC.newInstance(const Symbol(''), []).reflectee; |
Expect.equals(int, reflective_a_int.t); |
Expect.equals(dynamic, reflective_a_dynamic.t); |