Index: tests/corelib/list_get_range_test.dart |
diff --git a/tests/corelib/list_get_range_test.dart b/tests/corelib/list_get_range_test.dart |
index 221931c9c10fbd4f92e550820b98f8e4fad03417..5aafd763b7ab6dae70ea459a87af0afd8c623ca5 100644 |
--- a/tests/corelib/list_get_range_test.dart |
+++ b/tests/corelib/list_get_range_test.dart |
@@ -5,11 +5,21 @@ |
import "package:expect/expect.dart"; |
testGetRange(list, start, end, bool isModifiable) { |
- expectRE(() { list.getRange(-1, 0); }); |
- expectRE(() { list.getRange(0, -1); }); |
- expectRE(() { list.getRange(1, 0); }); |
- expectRE(() { list.getRange(0, list.length + 1); }); |
- expectRE(() { list.getRange(list.length + 1, list.length + 1); }); |
+ expectRE(() { |
+ list.getRange(-1, 0); |
+ }); |
+ expectRE(() { |
+ list.getRange(0, -1); |
+ }); |
+ expectRE(() { |
+ list.getRange(1, 0); |
+ }); |
+ expectRE(() { |
+ list.getRange(0, list.length + 1); |
+ }); |
+ expectRE(() { |
+ list.getRange(list.length + 1, list.length + 1); |
+ }); |
Iterable iterable = list.getRange(start, end); |
Expect.isFalse(iterable is List); |
if (start == end) { |