| Index: sdk/lib/_internal/pub_generated/test/global/list_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/global/list_test.dart b/sdk/lib/_internal/pub_generated/test/global/list_test.dart
|
| similarity index 78%
|
| copy from sdk/lib/_internal/pub/test/global/list_test.dart
|
| copy to sdk/lib/_internal/pub_generated/test/global/list_test.dart
|
| index 782c9b0fd452f06060d78f02e2c50a22d86e4200..f11489636f436ea8d04aaa1c93380f3512429844 100644
|
| --- a/sdk/lib/_internal/pub/test/global/list_test.dart
|
| +++ b/sdk/lib/_internal/pub_generated/test/global/list_test.dart
|
| @@ -24,32 +24,30 @@ main() {
|
| integration('lists an activated Git package', () {
|
| ensureGit();
|
|
|
| - d.git('foo.git', [
|
| - d.libPubspec('foo', '1.0.0'),
|
| - d.dir('bin', [
|
| - d.file('foo.dart', 'main() => print("ok");')
|
| - ])
|
| - ]).create();
|
| + d.git(
|
| + 'foo.git',
|
| + [
|
| + d.libPubspec('foo', '1.0.0'),
|
| + d.dir('bin', [d.file('foo.dart', 'main() => print("ok");')])]).create();
|
|
|
| schedulePub(args: ['global', 'activate', '-sgit', '../foo.git']);
|
|
|
| - schedulePub(args: ['global', 'list'],
|
| + schedulePub(
|
| + args: ['global', 'list'],
|
| output: 'foo 1.0.0 from Git repository "../foo.git"');
|
| });
|
|
|
| integration('lists an activated Path package', () {
|
| - d.dir('foo', [
|
| - d.libPubspec('foo', '1.0.0'),
|
| - d.dir('bin', [
|
| - d.file('foo.dart', 'main() => print("ok");')
|
| - ])
|
| - ]).create();
|
| + d.dir(
|
| + 'foo',
|
| + [
|
| + d.libPubspec('foo', '1.0.0'),
|
| + d.dir('bin', [d.file('foo.dart', 'main() => print("ok");')])]).create();
|
|
|
| schedulePub(args: ['global', 'activate', '-spath', '../foo']);
|
|
|
| var path = canonicalize(p.join(sandboxDir, 'foo'));
|
| - schedulePub(args: ['global', 'list'],
|
| - output: 'foo 1.0.0 at path "$path"');
|
| + schedulePub(args: ['global', 'list'], output: 'foo 1.0.0 at path "$path"');
|
| });
|
|
|
| integration('lists activated packages in alphabetical order', () {
|
|
|