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

Unified Diff: tests/language_strong/list_mixin_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/list_mixin_test.dart
diff --git a/tests/language_strong/list_mixin_test.dart b/tests/language_strong/list_mixin_test.dart
index 5ae8563ec988800956641ab3493ac4fa0030b1ee..6d5ec8b73441a07ce8ff0b0599c8f61bcbe38fd1 100644
--- a/tests/language_strong/list_mixin_test.dart
+++ b/tests/language_strong/list_mixin_test.dart
@@ -4,13 +4,15 @@ import 'package:expect/expect.dart';
class MyList extends ListBase {
int get length => 4;
set length(int x) {}
- int operator[](int x) => 42;
- void operator[]=(int x, val) {}
+ int operator [](int x) => 42;
+ void operator []=(int x, val) {}
}
main() {
var x = new MyList();
int z = 0;
- x.forEach((y) { z += y; });
+ x.forEach((y) {
+ z += y;
+ });
Expect.equals(z, 4 * 42);
}

Powered by Google App Engine
This is Rietveld 408576698