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

Unified Diff: utils/tests/pub/test_pub.dart

Issue 12817003: Change getRange to sublist. Make getRange deprecated. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments Created 7 years, 9 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: 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));
}
}
« sdk/lib/_internal/compiler/implementation/lib/js_array.dart ('K') | « utils/pub/pub.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698