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

Unified Diff: tests/corelib_strong/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_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));

Powered by Google App Engine
This is Rietveld 408576698