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 9f13106e0ac275441d099adbd6eff07fb98eae74..c1db64c58e42d91a259204c4b9226be30da00e91 100644 |
--- a/runtime/tests/vm/dart/redirection_type_shuffling_test.dart |
+++ b/runtime/tests/vm/dart/redirection_type_shuffling_test.dart |
@@ -7,18 +7,14 @@ 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(#swap, []).reflectee is G<String, int>); |
+ Expect.isTrue(cm.newInstance(#retain, []).reflectee is G<int,String>); |
- /// 00: dynamic type error |
+ Expect.isTrue(cm.newInstance(#swap, []).reflectee is G<String,int>); /// 00: dynamic type error |
} |