| 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"\}\}\}\}$'));
|
| });
|
| }
|
|
|