Index: tests/corelib_strong/list_insert_all_test.dart |
diff --git a/tests/corelib_strong/list_insert_all_test.dart b/tests/corelib_strong/list_insert_all_test.dart |
index 08b08f49c8833d5a612182b15e56def9a08ecaaa..c713966a970fe34099b85d578b1711e4a8da912c 100644 |
--- a/tests/corelib_strong/list_insert_all_test.dart |
+++ b/tests/corelib_strong/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)); |