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

Unified Diff: tests/language_strong/override_field_method2_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/override_field_method2_negative_test.dart
diff --git a/tests/language_strong/override_field_method2_negative_test.dart b/tests/language_strong/override_field_method2_negative_test.dart
index 7ca2a4c8512168e99db52f85671dfe43b0562dac..c695fb330afa55bda93b6880ee63baf65505ac37 100644
--- a/tests/language_strong/override_field_method2_negative_test.dart
+++ b/tests/language_strong/override_field_method2_negative_test.dart
@@ -4,11 +4,13 @@
// Dart test error for overriding getter with method.
class A {
- get foo { return 123; }
+ get foo {
+ return 123;
+ }
}
class B extends A {
- foo() {} // method cannot override getter.
+ foo() {} // method cannot override getter.
}
class OverrideFieldMethod2NegativeTest {

Powered by Google App Engine
This is Rietveld 408576698