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

Unified Diff: tests/corelib/list_insert_all_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/corelib/list_insert_all_test.dart
diff --git a/tests/corelib/list_insert_all_test.dart b/tests/corelib/list_insert_all_test.dart
index a1d025a743e92012027785eb3c85d3a24589a50b..63d38923a7505a39f166189e5338826452541b35 100644
--- a/tests/corelib/list_insert_all_test.dart
+++ b/tests/corelib/list_insert_all_test.dart
@@ -25,9 +25,15 @@ class MyList extends ListBase {
List list;
MyList(this.list);
get length => list.length;
- set length(value) { list.length = value; }
+ set length(value) {
+ list.length = value;
+ }
+
operator [](index) => list[index];
- operator []=(index, val) { list[index] = val; }
+ operator []=(index, val) {
+ list[index] = val;
+ }
+
toString() => list.toString();
}
@@ -47,7 +53,7 @@ main() {
test([1, 2, 3], 0, const [4, 5]);
test([1, 2, 3], 1, const [4, 5]);
test([1, 2, 3], 2, const [4, 5]);
- test([1, 2, 3], 3, const [4 ,5]);
+ test([1, 2, 3], 3, const [4, 5]);
test([1, 2, 3], 2, const [4]);
test([1, 2, 3], 3, const []);
test([1, 2, 3], 0, new Iterable.generate(2, (x) => x + 4));

Powered by Google App Engine
This is Rietveld 408576698