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

Unified Diff: tests/language_strong/override_field_method5_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_method5_negative_test.dart
diff --git a/tests/language_strong/override_field_method5_negative_test.dart b/tests/language_strong/override_field_method5_negative_test.dart
index 0cb82fa5d2f989a97fe2e717c25d81f95b88ddef..7484c30fc04ba8269176f3093b5725a7b0398685 100644
--- a/tests/language_strong/override_field_method5_negative_test.dart
+++ b/tests/language_strong/override_field_method5_negative_test.dart
@@ -4,11 +4,15 @@
// Dart test error for overriding method with getter.
class A {
- foo() { return 999; }
+ foo() {
+ return 999;
+ }
}
class B extends A {
- get foo { return 123; } // getter cannot override method
+ get foo {
+ return 123;
+ } // getter cannot override method
}
class OverrideFieldMethod5NegativeTest {

Powered by Google App Engine
This is Rietveld 408576698