Index: tests/lib_strong/mirrors/typearguments_mirror_test.dart |
diff --git a/tests/lib_strong/mirrors/typearguments_mirror_test.dart b/tests/lib_strong/mirrors/typearguments_mirror_test.dart |
index 3e6ec3639e0a88f64e88c08af5cc1c9a5fe0d67f..a5474d52b65913b907fe782cc3e3d60083d47f15 100644 |
--- a/tests/lib_strong/mirrors/typearguments_mirror_test.dart |
+++ b/tests/lib_strong/mirrors/typearguments_mirror_test.dart |
@@ -9,6 +9,7 @@ import 'stringify.dart'; |
import 'dart:mirrors'; |
class Foo<T> {} |
+ |
class Bar<T, R> {} |
main() { |
@@ -34,30 +35,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); |
} |