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

Unified Diff: tests/language/call_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/call_test.dart
diff --git a/tests/language/call_test.dart b/tests/language/call_test.dart
index 7c076afd928b002606bc2beed371386cf97ac870..629f7d537ca82ae751b8974d0e9ea74e5b0e165e 100644
--- a/tests/language/call_test.dart
+++ b/tests/language/call_test.dart
@@ -31,13 +31,13 @@ main() {
for (var i = 0; i < 20; i++) {
Expect.equals("1122", named_arg());
Expect.equals("1122", named_arg.call());
- Expect.equals("4455", named_arg(y:55, x:44));
- Expect.equals("4455", named_arg.call(y:55, x:44));
- Expect.equals("4455", named_arg(x:44, y:55));
- Expect.equals("4455", named_arg.call(x:44, y:55));
+ Expect.equals("4455", named_arg(y: 55, x: 44));
+ Expect.equals("4455", named_arg.call(y: 55, x: 44));
+ Expect.equals("4455", named_arg(x: 44, y: 55));
+ Expect.equals("4455", named_arg.call(x: 44, y: 55));
}
Expect.throws(() => bar.call(), (e) => e is NoSuchMethodError);
- Expect.throws(() => opt_arg.call(x:"p"), (e) => e is NoSuchMethodError);
+ Expect.throws(() => opt_arg.call(x: "p"), (e) => e is NoSuchMethodError);
Expect.throws(() => named_arg.call("p", "q"), (e) => e is NoSuchMethodError);
}

Powered by Google App Engine
This is Rietveld 408576698