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

Unified Diff: sdk/lib/_internal/pub/test/pub_cache_test.dart

Issue 17167005: modify cache list command to show all versions of a package (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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: sdk/lib/_internal/pub/test/pub_cache_test.dart
===================================================================
--- sdk/lib/_internal/pub/test/pub_cache_test.dart (revision 24187)
+++ sdk/lib/_internal/pub/test/pub_cache_test.dart (working copy)
@@ -73,9 +73,9 @@
]).create();
schedulePub(args: ['cache', 'list'], output:
- new RegExp(r'\{"packages":\{"bar":\{"version":"2\.0\.0","location":'
- r'"[^"]+bar-2\.0\.0"\},"foo":\{"version":"1\.2\.3","location":'
- r'"[^"]+foo-1\.2\.3"\}\}\}$'));
+ new RegExp(r'\{"packages":\{"bar":\{"2\.0\.0":\{"location":'
+ r'"[^"]+bar-2\.0\.0"\}},"foo":\{"1\.2\.3":\{"location":'
+ r'"[^"]+foo-1\.2\.3"\}\}\}\}$'));
});
integration('includes packages containing deps with bad sources', () {
@@ -92,7 +92,7 @@
]).create();
schedulePub(args: ['cache', 'list'], output:
- new RegExp(r'\{"packages":\{"foo":\{"version":"1\.2\.3","location":'
- r'"[^"]+foo-1\.2\.3"\}\}\}$'));
+ new RegExp(r'\{"packages":\{"foo":\{"1\.2\.3":\{"location":'
+ r'"[^"]+foo-1\.2\.3"\}\}\}\}$'));
});
}

Powered by Google App Engine
This is Rietveld 408576698