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

Unified Diff: tests/language_strong/field1_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_strong/field1_negative_test.dart
diff --git a/tests/language_strong/field1_negative_test.dart b/tests/language_strong/field1_negative_test.dart
index a860b3dc9555311b4e354d2a83e804df88fce8f6..467e7ab7e7d461e04392c2cc15ebcda2623c4276 100644
--- a/tests/language_strong/field1_negative_test.dart
+++ b/tests/language_strong/field1_negative_test.dart
@@ -11,6 +11,7 @@ class C {
get a {
return 1;
}
+
set a(int val) {
var x = val;
}
@@ -18,19 +19,18 @@ class C {
get b {
return 2;
}
+
set b(int val) {
var x = val;
}
}
-
class Field1NegativeTest {
static testMain() {
var c = new C();
}
}
-
main() {
Field1NegativeTest.testMain();
}

Powered by Google App Engine
This is Rietveld 408576698