Index: runtime/tests/vm/dart/redirection_type_shuffling_test.dart |
diff --git a/runtime/tests/vm/dart/redirection_type_shuffling_test.dart b/runtime/tests/vm/dart/redirection_type_shuffling_test.dart |
index c1db64c58e42d91a259204c4b9226be30da00e91..9f13106e0ac275441d099adbd6eff07fb98eae74 100644 |
--- a/runtime/tests/vm/dart/redirection_type_shuffling_test.dart |
+++ b/runtime/tests/vm/dart/redirection_type_shuffling_test.dart |
@@ -7,14 +7,18 @@ import "package:expect/expect.dart"; |
class G<A extends int, B extends String> { |
G(); |
- factory G.swap() = G<B,A>; /// 00: static type warning |
- factory G.retain() = G<A,B>; |
+ factory G.swap() = G<B, A>; |
+ |
+ /// 00: static type warning |
+ factory G.retain() = G<A, B>; |
} |
main() { |
ClassMirror cm = reflect(new G<int, String>()).type; |
- Expect.isTrue(cm.newInstance(#retain, []).reflectee is G<int,String>); |
+ Expect.isTrue(cm.newInstance(#retain, []).reflectee is G<int, String>); |
+ |
+ Expect.isTrue(cm.newInstance(#swap, []).reflectee is G<String, int>); |
- Expect.isTrue(cm.newInstance(#swap, []).reflectee is G<String,int>); /// 00: dynamic type error |
+ /// 00: dynamic type error |
} |