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

Unified Diff: tests/language/top_level_var_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/top_level_var_test.dart
diff --git a/tests/language/top_level_var_test.dart b/tests/language/top_level_var_test.dart
index 91806ae4d42332d7eabb4ef1dec72c8aecc7efbe..e7d9216c065569a8c121268341cdf17b9e8bec47 100644
--- a/tests/language/top_level_var_test.dart
+++ b/tests/language/top_level_var_test.dart
@@ -5,10 +5,8 @@
import "package:expect/expect.dart";
-
var a, b;
-
class TopLevelVarTest {
static testMain() {
Expect.equals(null, a);
@@ -23,12 +21,10 @@ class TopLevelVarTest {
}
}
-
// Ensure that initializers work for both const and non-const variables.
const int x = 2 * 55 + 1;
int y = x + 1;
-
main() {
TopLevelVarTest.testMain();
}

Powered by Google App Engine
This is Rietveld 408576698