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

Unified Diff: tests/language_strong/implicit_closure_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/implicit_closure_test.dart
diff --git a/tests/language_strong/implicit_closure_test.dart b/tests/language_strong/implicit_closure_test.dart
index b5f8b8b6b95139b0d466df0552ba140e1055c3d7..a9ea617a6db9b22dc8dd9d4ba4933a55598baece 100644
--- a/tests/language_strong/implicit_closure_test.dart
+++ b/tests/language_strong/implicit_closure_test.dart
@@ -10,13 +10,18 @@ import "package:expect/expect.dart";
class First {
First(this.i) {}
var b;
- int foo() { return i; }
+ int foo() {
+ return i;
+ }
+
Function foo1() {
local() {
return i;
}
+
return local;
}
+
int i;
}
@@ -36,7 +41,6 @@ class ImplicitClosureTest {
}
}
-
main() {
ImplicitClosureTest.testMain();
}

Powered by Google App Engine
This is Rietveld 408576698