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

Unified Diff: tests/language/bad_initializer2_negative_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/bad_initializer2_negative_test.dart
diff --git a/tests/language/bad_initializer2_negative_test.dart b/tests/language/bad_initializer2_negative_test.dart
index 3f0fce0ca7098bc5f1baad6f0a0e9412e071e59a..33a977a236be33c33e2acffb2138132d545531d1 100644
--- a/tests/language/bad_initializer2_negative_test.dart
+++ b/tests/language/bad_initializer2_negative_test.dart
@@ -7,14 +7,14 @@ import "package:expect/expect.dart";
class BadInitializer2NegativeTest {
static testMain() {
- var foo = (int n) {
- if (n == 0) {
- return 0;
- } else {
- return 1 + foo(n - 1); // <-- self-reference to closure foo.
- }
- };
- Expect.equals(4, foo(4));
+ var foo = (int n) {
+ if (n == 0) {
+ return 0;
+ } else {
+ return 1 + foo(n - 1); // <-- self-reference to closure foo.
+ }
+ };
+ Expect.equals(4, foo(4));
}
}

Powered by Google App Engine
This is Rietveld 408576698