Index: pkg/scheduled_test/lib/src/descriptor/directory.dart |
diff --git a/pkg/scheduled_test/lib/src/descriptor/directory.dart b/pkg/scheduled_test/lib/src/descriptor/directory.dart |
index 3d04816c966be034e48808eee5174e44c6af1a1a..594fb56c27d220f48efead09095b37b06de11eef 100644 |
--- a/pkg/scheduled_test/lib/src/descriptor/directory.dart |
+++ b/pkg/scheduled_test/lib/src/descriptor/directory.dart |
@@ -62,7 +62,7 @@ class Directory extends descriptor.Entry { |
throw "Found multiple entries named '${split.first}' within " |
"$nameDescription."; |
} else { |
- var remainingPath = split.getRange(1, split.length - 1); |
+ var remainingPath = split.sublist(1); |
if (remainingPath.isEmpty) { |
return matchingEntries.first.read(); |
} else { |