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

Unified Diff: tests/language/static_field_test.dart

Issue 2770063002: Revert "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/static_field_test.dart
diff --git a/tests/language/static_field_test.dart b/tests/language/static_field_test.dart
index bcf498e086d4e81520d5b21778bf52b4c4b5c2b7..ae2459625000b6e1a80e8952f7c0de537f746a78 100644
--- a/tests/language/static_field_test.dart
+++ b/tests/language/static_field_test.dart
@@ -17,6 +17,7 @@ class First {
}
}
+
class InitializerTest {
static var one;
static var two = 2;
@@ -43,6 +44,7 @@ class InitializerTest {
}
}
+
class StaticFieldTest {
static testMain() {
First.a = 3;
@@ -61,9 +63,10 @@ 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.
@@ -73,7 +76,7 @@ class StaticField1RunNegativeTest {
class StaticField1aRunNegativeTest {
static // //# 02: static type warning, runtime error
- void m() {}
+ void m() {}
testMain() {
var foo = new StaticField1aRunNegativeTest();
@@ -84,7 +87,7 @@ class StaticField1aRunNegativeTest {
class StaticField2RunNegativeTest {
static //# 03: static type warning, runtime error
- var x;
+ var x;
testMain() {
var foo = new StaticField2RunNegativeTest();
@@ -95,7 +98,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/stacktrace_rethrow_error_test.dart ('k') | tests/language/static_getter_no_setter1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698