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

Unified Diff: tests/language_strong/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_strong/call_test.dart
diff --git a/tests/language_strong/call_test.dart b/tests/language_strong/call_test.dart
index 59d24073c75d84bdc02443be9b9957dfae8df385..373283ef8f23b3351673e50f4bc7856ea7424052 100644
--- a/tests/language_strong/call_test.dart
+++ b/tests/language_strong/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