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

Unified Diff: tests/compiler/dart2js/serialization/helper.dart

Issue 2162053005: Split serialization tests further (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Update to use open-ended intervals and separate method for skipped tests. Created 4 years, 5 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/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);

Powered by Google App Engine
This is Rietveld 408576698