Index: utils/tests/pub/test_pub.dart |
diff --git a/utils/tests/pub/test_pub.dart b/utils/tests/pub/test_pub.dart |
index a0150cebed12414a063b30d2bf4d9cf1821e623d..8c9730d776508a5fac1538333379c8bdd22498e5 100644 |
--- a/utils/tests/pub/test_pub.dart |
+++ b/utils/tests/pub/test_pub.dart |
@@ -1025,7 +1025,7 @@ class DirectoryDescriptor extends Descriptor { |
for (var descriptor in contents) { |
if (descriptor.name == path[0]) { |
- return descriptor.load(path.getRange(1, path.length - 1)); |
+ return descriptor.load(path.sublist(1)); |
} |
} |