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

Unified Diff: tests/language/no_such_method_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/no_such_method_test.dart
diff --git a/tests/language/no_such_method_test.dart b/tests/language/no_such_method_test.dart
index 77e4894f161ed0aa5ae1bb857d57d8b48f78efda..fdd1c53cbbeb183f0c35c3ca9274ad438a6bf4ab 100644
--- a/tests/language/no_such_method_test.dart
+++ b/tests/language/no_such_method_test.dart
@@ -14,8 +14,7 @@ class GetName {
String getName(im) => reflect(new GetName()).delegate(im);
class NoSuchMethodTest {
-
- foo({a : 10, b : 20}) {
+ foo({a: 10, b: 20}) {
return (10 * a) + b;
}
@@ -23,12 +22,12 @@ class NoSuchMethodTest {
Expect.equals("moo", getName(im));
Expect.equals(0, im.positionalArguments.length);
Expect.equals(1, im.namedArguments.length);
- return foo(b:im.namedArguments[const Symbol("b")]);
+ return foo(b: im.namedArguments[const Symbol("b")]);
}
static testMain() {
var obj = new NoSuchMethodTest();
- Expect.equals(199, obj.moo(b:99)); // obj.NoSuchMethod called here.
+ Expect.equals(199, obj.moo(b: 99)); // obj.NoSuchMethod called here.
}
}

Powered by Google App Engine
This is Rietveld 408576698