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

Unified Diff: tests/language_strong/static_field_test.dart

Issue 2774783002: Re-land "Format all multitests" (Closed)
Patch Set: Created 3 years, 9 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/static_field_test.dart
diff --git a/tests/language_strong/static_field_test.dart b/tests/language_strong/static_field_test.dart
index ae2459625000b6e1a80e8952f7c0de537f746a78..bcf498e086d4e81520d5b21778bf52b4c4b5c2b7 100644
--- a/tests/language_strong/static_field_test.dart
+++ b/tests/language_strong/static_field_test.dart
@@ -17,7 +17,6 @@ class First {
}
}
-
class InitializerTest {
static var one;
static var two = 2;
@@ -44,7 +43,6 @@ class InitializerTest {
}
}
-
class StaticFieldTest {
static testMain() {
First.a = 3;
@@ -63,10 +61,9 @@ class StaticFieldTest {
}
}
-
class StaticField1RunNegativeTest {
static // //# 01: static type warning, runtime error
- var x;
+ var x;
testMain() {
var foo = new StaticField1RunNegativeTest();
print(x); // Used to compile 'x' and force any errors.
@@ -76,7 +73,7 @@ class StaticField1RunNegativeTest {
class StaticField1aRunNegativeTest {
static // //# 02: static type warning, runtime error
- void m() {}
+ void m() {}
testMain() {
var foo = new StaticField1aRunNegativeTest();
@@ -87,7 +84,7 @@ class StaticField1aRunNegativeTest {
class StaticField2RunNegativeTest {
static //# 03: static type warning, runtime error
- var x;
+ var x;
testMain() {
var foo = new StaticField2RunNegativeTest();
@@ -98,7 +95,7 @@ class StaticField2RunNegativeTest {
class StaticField2aRunNegativeTest {
static // //# 04: static type warning, runtime error
- void m() {}
+ void m() {}
testMain() {
var foo = new StaticField2aRunNegativeTest();
« no previous file with comments | « tests/language_strong/stacktrace_rethrow_error_test.dart ('k') | tests/language_strong/static_getter_no_setter1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698