Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Unified Diff: tests/language_strong/closures_with_complex_params_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/language_strong/closures_with_complex_params_test.dart
diff --git a/tests/language_strong/closures_with_complex_params_test.dart b/tests/language_strong/closures_with_complex_params_test.dart
index bf20e49005b8d8ef30b553da1e86167e6a0b758a..c3c65ee92bbefe2dd29181bfd95aa1847f8da307 100644
--- a/tests/language_strong/closures_with_complex_params_test.dart
+++ b/tests/language_strong/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));

Powered by Google App Engine
This is Rietveld 408576698