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

Unified Diff: tests/language_strong/method_name_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/method_name_test.dart
diff --git a/tests/language_strong/method_name_test.dart b/tests/language_strong/method_name_test.dart
index b0199cf63d17ca140f5e113786c6e7ea990559d8..ca9c48ba69088a5bd3ac0957ad24346980496402 100644
--- a/tests/language_strong/method_name_test.dart
+++ b/tests/language_strong/method_name_test.dart
@@ -9,16 +9,32 @@ import "package:expect/expect.dart";
// With return type.
class A {
- int get() {return 1;}
- int set() {return 2;}
- int operator() {return 3;}
+ int get() {
+ return 1;
+ }
+
+ int set() {
+ return 2;
+ }
+
+ int operator() {
+ return 3;
+ }
}
// Without return types.
class B {
- get() {return 1;}
- set() {return 2;}
- operator() {return 3;}
+ get() {
+ return 1;
+ }
+
+ set() {
+ return 2;
+ }
+
+ operator() {
+ return 3;
+ }
}
main() {

Powered by Google App Engine
This is Rietveld 408576698