Index: tests/language/implicit_scope_test.dart |
diff --git a/tests/language/implicit_scope_test.dart b/tests/language/implicit_scope_test.dart |
index 26cb13ca823418d02c0dc910c582acb4cc8e7641..49d0dd95c03d8b6deb92b82eb21fdd0160ccf4ec 100644 |
--- a/tests/language/implicit_scope_test.dart |
+++ b/tests/language/implicit_scope_test.dart |
@@ -10,10 +10,14 @@ class ImplicitScopeTest { |
static bool alwaysTrue() { |
return 1 + 1 == 2; |
} |
+ |
static testMain() { |
var a = "foo"; |
var b; |
- if (alwaysTrue()) var a = "bar"; else var b = a; |
+ if (alwaysTrue()) |
+ var a = "bar"; |
+ else |
+ var b = a; |
Expect.equals("foo", a); |
Expect.equals(null, b); |
@@ -25,7 +29,7 @@ class ImplicitScopeTest { |
Expect.equals("foo", a); |
Expect.equals(null, b); |
- do var a = "bar", b = "baz"; while("black" == "white"); |
+ do var a = "bar", b = "baz"; while ("black" == "white"); |
Expect.equals("foo", a); |
Expect.equals(null, b); |
} |