Index: tests/lib/mirrors/new_instance_with_type_arguments_test.dart |
diff --git a/tests/lib/mirrors/new_instance_with_type_arguments_test.dart b/tests/lib/mirrors/new_instance_with_type_arguments_test.dart |
index 5fc242a9d32349267ecfd10c84dd709823f56a06..07e2239ab6fc6ba1bbd3f1ff63457feb0d8cf22d 100644 |
--- a/tests/lib/mirrors/new_instance_with_type_arguments_test.dart |
+++ b/tests/lib/mirrors/new_instance_with_type_arguments_test.dart |
@@ -12,7 +12,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; |
} |
@@ -39,12 +41,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); |