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

Unified Diff: tests/language/inst_field_initializer1_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/inst_field_initializer1_negative_test.dart
diff --git a/tests/language/inst_field_initializer1_negative_test.dart b/tests/language/inst_field_initializer1_negative_test.dart
index 44fcca13a110b64aaf788a5e9f9cffd311aec8ff..8f18981a0fc7bfd4202191a5fcde2d0317520123 100644
--- a/tests/language/inst_field_initializer1_negative_test.dart
+++ b/tests/language/inst_field_initializer1_negative_test.dart
@@ -3,12 +3,11 @@
// BSD-style license that can be found in the LICENSE file.
// Catch illegal access to 'this' in initalized instance fields.
-
class A {
A() {}
int x = 5;
- int arr = new List(x); // Illegal access to 'this'.
- // Also not a compile const expression.
+ int arr = new List(x); // Illegal access to 'this'.
+ // Also not a compile const expression.
}
void main() {

Powered by Google App Engine
This is Rietveld 408576698