Index: tests/lib/typed_data/typed_data_list_test.dart |
diff --git a/tests/lib/typed_data/typed_data_list_test.dart b/tests/lib/typed_data/typed_data_list_test.dart |
index f4f5ad4375f1da3fef47f264072b00269986621d..728416c8f3002ea18a33179b7cb9ebd6e6cb3803 100644 |
--- a/tests/lib/typed_data/typed_data_list_test.dart |
+++ b/tests/lib/typed_data/typed_data_list_test.dart |
@@ -5,10 +5,6 @@ |
import 'dart:typed_data'; |
import 'package:expect/expect.dart'; |
-@AssumeDynamic() |
-@NoInline() |
-confuse(x) => x; |
- |
void testListFunctions(list, first, last, toElementType) { |
assert(list.length > 0); |
@@ -110,17 +106,6 @@ void testListFunctions(list, first, last, toElementType) { |
list.sublist(1, list.length - 1)); |
Expect.listEquals(list.getRange(1, list.length).toList(), list.sublist(1)); |
Expect.listEquals(list, list.sublist(0)); |
- |
- Expect.listEquals([], list.sublist(0, 0)); |
- Expect.listEquals([], list.sublist(list.length)); |
- Expect.listEquals([], list.sublist(list.length, list.length)); |
- |
- Expect.throws(() => list.sublist(list.length + 1), |
- (e) => e is RangeError); |
- Expect.throws(() => list.sublist(0, list.length + 1), |
- (e) => e is RangeError); |
- Expect.throws(() => list.sublist(1, 0), |
- (e) => e is RangeError); |
} |
void emptyChecks(list) { |