Index: tests/compiler/dart2js/serialization/helper.dart |
diff --git a/tests/compiler/dart2js/serialization/helper.dart b/tests/compiler/dart2js/serialization/helper.dart |
index 97f1975e5136e5a41286714fb95e14ebbf79dd3f..44d3786018e744b67114746c2344f832be8a1bf6 100644 |
--- a/tests/compiler/dart2js/serialization/helper.dart |
+++ b/tests/compiler/dart2js/serialization/helper.dart |
@@ -77,9 +77,9 @@ class Arguments { |
TestFunction testFunction) async { |
Uri entryPoint = Uri.parse('memory:main.dart'); |
int first = start ?? 0; |
- int last = end ?? tests.length - 1; |
+ int last = end ?? tests.length; |
- for (int index = first; index <= last; index++) { |
+ for (int index = first; index < last; index++) { |
Test test = TESTS[index]; |
List<SerializedData> dataList = |
await preserializeData(serializedData, test); |