Index: tests/language/closures_with_complex_params_test.dart |
diff --git a/tests/language/closures_with_complex_params_test.dart b/tests/language/closures_with_complex_params_test.dart |
index bf20e49005b8d8ef30b553da1e86167e6a0b758a..c3c65ee92bbefe2dd29181bfd95aa1847f8da307 100644 |
--- a/tests/language/closures_with_complex_params_test.dart |
+++ b/tests/language/closures_with_complex_params_test.dart |
@@ -21,7 +21,7 @@ class Pair<A, B> { |
test1() { |
// Closures with nested parameterized types. |
var cdar1 = (Pair<int, Pair<int, int>> pr) => pr.snd.fst; |
- var cdar2 = (Pair<int, Pair<int, int> > pr) => pr.snd.fst; |
+ var cdar2 = (Pair<int, Pair<int, int>> pr) => pr.snd.fst; |
var e = new Pair<int, Pair<int, int>>(100, new Pair<int, int>(200, 300)); |
@@ -32,7 +32,7 @@ test1() { |
test2() { |
// Closures with nested parameterized types in optional position |
var cdar1 = ([Pair<int, Pair<int, int>> pr = null]) => pr.snd.fst; |
- var cdar2 = ([Pair<int, Pair<int, int> > pr = null]) => pr.snd.fst; |
+ var cdar2 = ([Pair<int, Pair<int, int>> pr = null]) => pr.snd.fst; |
var e = new Pair<int, Pair<int, int>>(100, new Pair<int, int>(200, 300)); |
@@ -43,13 +43,13 @@ test2() { |
test3() { |
// Closures with nested parameterized types. |
var f1 = (Pair<int, Pair<int, int>> pr) => pr.snd.fst + 1; |
- var f2 = (Pair<int, Pair<int, int> > pr) => pr.snd.fst + 2; |
+ var f2 = (Pair<int, Pair<int, int>> pr) => pr.snd.fst + 2; |
// Closures with function type with nested parameterized types. |
- var ap1 = (f(Pair<int, Pair<int, int>> pr1), Pair<int, Pair<int, int>> pr) |
- => f(pr) * 10; |
- var ap2 = (f(Pair<int, Pair<int, int> > pr1), Pair<int, Pair<int, int> > pr) |
- => f(pr) * 100; |
+ var ap1 = (f(Pair<int, Pair<int, int>> pr1), Pair<int, Pair<int, int>> pr) => |
+ f(pr) * 10; |
+ var ap2 = (f(Pair<int, Pair<int, int>> pr1), Pair<int, Pair<int, int>> pr) => |
+ f(pr) * 100; |
var e = new Pair<int, Pair<int, int>>(100, new Pair<int, int>(200, 300)); |