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

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

Issue 11664006: Make Map.keys/values Iterables. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Add TODO that map.keys should return a Set. Created 7 years, 12 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
« no previous file with comments | « utils/template/parser.dart ('k') | utils/tests/pub/version_solver_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/test_pub.dart
diff --git a/utils/tests/pub/test_pub.dart b/utils/tests/pub/test_pub.dart
index 39d35f89ef99ae9b9f74a2fcb28c433c326dc44f..2d0759601f0c87baafb6319547b13deb7c75df5f 100644
--- a/utils/tests/pub/test_pub.dart
+++ b/utils/tests/pub/test_pub.dart
@@ -196,7 +196,7 @@ void servePackages(List<Map> pubspecs) {
_servedPackageDir.contents.clear();
for (var name in _servedPackages.keys) {
- var versions = _servedPackages[name].keys;
+ var versions = _servedPackages[name].keys.toList());
_servedPackageDir.contents.addAll([
file('$name.json',
json.stringify({'versions': versions})),
« no previous file with comments | « utils/template/parser.dart ('k') | utils/tests/pub/version_solver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698