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

Unified Diff: tests/language_strong/call_operator_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_operator_test.dart
diff --git a/tests/language_strong/call_operator_test.dart b/tests/language_strong/call_operator_test.dart
index ecaefb50a81bacf7d8a598e1699075295319514a..6709ac74a2d6949277722bf0c782640f7ff71910 100644
--- a/tests/language_strong/call_operator_test.dart
+++ b/tests/language_strong/call_operator_test.dart
@@ -4,7 +4,6 @@
import "package:expect/expect.dart";
-
// simple test with no types in signature
class A1 {
call() => 42;
@@ -26,7 +25,7 @@ class C {
// Test named arguments
class D {
- call([arg=6]) => 7 * arg;
+ call([arg = 6]) => 7 * arg;
}
// Non-trivial method body combination of positional and named.
@@ -70,11 +69,11 @@ main() {
var e = new E();
Expect.equals("foo", e("foo"));
- Expect.equals("foo:foo", e("foo", count:2));
- Expect.equals("foo:foo:foo", e("foo", count:3));
+ Expect.equals("foo:foo", e("foo", count: 2));
+ Expect.equals("foo:foo:foo", e("foo", count: 3));
Expect.equals("foo", e.call("foo"));
- Expect.equals("foo:foo", e.call("foo", count:2));
- Expect.equals("foo:foo:foo", e.call("foo", count:3));
+ Expect.equals("foo:foo", e.call("foo", count: 2));
+ Expect.equals("foo:foo:foo", e.call("foo", count: 3));
Expect.isTrue(a1 is Function);
Expect.isTrue(e is Function);

Powered by Google App Engine
This is Rietveld 408576698