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

Unified Diff: tests/language/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/method_name_test.dart
diff --git a/tests/language/method_name_test.dart b/tests/language/method_name_test.dart
index ea9c7d2ccf63e3f978aaa82b5db7ff7e264aac28..7c79a278f38885e15acfe9350513878140a35ff8 100644
--- a/tests/language/method_name_test.dart
+++ b/tests/language/method_name_test.dart
@@ -9,18 +9,40 @@ import "package:expect/expect.dart";
// With return type.
class A {
- int get() {return 1;}
- int set() {return 2;}
- int operator() {return 3;}
- int factory() { return 4; }
+ int get() {
+ return 1;
+ }
+
+ int set() {
+ return 2;
+ }
+
+ int operator() {
+ return 3;
+ }
+
+ int factory() {
+ return 4;
+ }
}
// Without return types.
class B {
- get() {return 1;}
- set() {return 2;}
- operator() {return 3;}
- factory() { return 4; }
+ get() {
+ return 1;
+ }
+
+ set() {
+ return 2;
+ }
+
+ operator() {
+ return 3;
+ }
+
+ factory() {
+ return 4;
+ }
}
main() {

Powered by Google App Engine
This is Rietveld 408576698