Index: tests/lib/mirrors/typearguments_mirror_test.dart |
diff --git a/tests/lib/mirrors/typearguments_mirror_test.dart b/tests/lib/mirrors/typearguments_mirror_test.dart |
index ced77b89e62f552528dd6098e5e3411938a81438..951704c65f1d7f79adbbe23d873893c44b0f1349 100644 |
--- a/tests/lib/mirrors/typearguments_mirror_test.dart |
+++ b/tests/lib/mirrors/typearguments_mirror_test.dart |
@@ -10,6 +10,7 @@ import 'stringify.dart'; |
import 'dart:mirrors'; |
class Foo<T> {} |
+ |
class Bar<T, R> {} |
main() { |
@@ -35,30 +36,40 @@ main() { |
var cm2 = reflect(new Bar<List<String>, Set>()).type; |
var cm3 = reflect(new Bar<List<String>, Set<String>>()).type; |
- expect('[Class(s(List) in s(dart.core), top-level),' |
- ' Class(s(Set) in s(dart.core), top-level)]', cm.typeArguments); |
- expect('[Class(s(List) in s(dart.core), top-level),' |
- ' Class(s(Set) in s(dart.core), top-level)]', cm1.typeArguments); |
- expect('[Class(s(List) in s(dart.core), top-level),' |
- ' Class(s(Set) in s(dart.core), top-level)]', cm2.typeArguments); |
- expect('[Class(s(List) in s(dart.core), top-level),' |
- ' Class(s(Set) in s(dart.core), top-level)]', cm3.typeArguments); |
+ expect( |
+ '[Class(s(List) in s(dart.core), top-level),' |
+ ' Class(s(Set) in s(dart.core), top-level)]', |
+ cm.typeArguments); |
+ expect( |
+ '[Class(s(List) in s(dart.core), top-level),' |
+ ' Class(s(Set) in s(dart.core), top-level)]', |
+ cm1.typeArguments); |
+ expect( |
+ '[Class(s(List) in s(dart.core), top-level),' |
+ ' Class(s(Set) in s(dart.core), top-level)]', |
+ cm2.typeArguments); |
+ expect( |
+ '[Class(s(List) in s(dart.core), top-level),' |
+ ' Class(s(Set) in s(dart.core), top-level)]', |
+ cm3.typeArguments); |
expect('[Class(s(String) in s(dart.core), top-level)]', |
- cm1.typeArguments[1].typeArguments); |
+ cm1.typeArguments[1].typeArguments); |
expect('[Class(s(String) in s(dart.core), top-level)]', |
- cm2.typeArguments[0].typeArguments); |
+ cm2.typeArguments[0].typeArguments); |
expect('[Class(s(String) in s(dart.core), top-level)]', |
- cm3.typeArguments[0].typeArguments); |
+ cm3.typeArguments[0].typeArguments); |
expect('[Class(s(String) in s(dart.core), top-level)]', |
- cm3.typeArguments[1].typeArguments); |
+ cm3.typeArguments[1].typeArguments); |
var cm4 = reflect(new Bar<Bar<List, Set>, String>()).type; |
- expect('[Class(s(Bar) in s(lib), top-level),' |
- ' Class(s(String) in s(dart.core), top-level)]', |
- cm4.typeArguments); |
- expect('[Class(s(List) in s(dart.core), top-level), ' |
- 'Class(s(Set) in s(dart.core), top-level)]', |
- cm4.typeArguments[0].typeArguments); |
+ expect( |
+ '[Class(s(Bar) in s(lib), top-level),' |
+ ' Class(s(String) in s(dart.core), top-level)]', |
+ cm4.typeArguments); |
+ expect( |
+ '[Class(s(List) in s(dart.core), top-level), ' |
+ 'Class(s(Set) in s(dart.core), top-level)]', |
+ cm4.typeArguments[0].typeArguments); |
} |