Index: tests/corelib_strong/list_get_range_test.dart |
diff --git a/tests/corelib_strong/list_get_range_test.dart b/tests/corelib_strong/list_get_range_test.dart |
index faecef0d766ed290f56e0806012bdef1121bfcfb..8ac315769d3ac6c7be3760e43b8602c2105060d4 100644 |
--- a/tests/corelib_strong/list_get_range_test.dart |
+++ b/tests/corelib_strong/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) { |