| Index: utils/tests/pub/pub_test.dart
|
| diff --git a/utils/tests/pub/pub_test.dart b/utils/tests/pub/pub_test.dart
|
| index bf5f04114808a389a08a15b24d7215c83f634cc9..f69969eaad0d67e37b5bceb1938b261412498d3f 100644
|
| --- a/utils/tests/pub/pub_test.dart
|
| +++ b/utils/tests/pub/pub_test.dart
|
| @@ -92,7 +92,7 @@ installCommand() {
|
| ]).scheduleCreate();
|
|
|
| dir(appPath, [
|
| - file('pubspec', 'dependencies:\n foo:')
|
| + file('pubspec', 'dependencies:\n- foo')
|
| ]).scheduleCreate();
|
|
|
| dir(packagesPath, [
|
| @@ -112,7 +112,7 @@ installCommand() {
|
| dir('lib', [
|
| dir('foo', [
|
| file('foo.dart', 'main() => "foo";'),
|
| - file('pubspec', 'dependencies:\n bar:')
|
| + file('pubspec', 'dependencies:\n- bar')
|
| ]),
|
| dir('bar', [
|
| file('bar.dart', 'main() => "bar";'),
|
| @@ -121,7 +121,7 @@ installCommand() {
|
| ]).scheduleCreate();
|
|
|
| dir(appPath, [
|
| - file('pubspec', 'dependencies:\n foo:')
|
| + file('pubspec', 'dependencies:\n- foo')
|
| ]).scheduleCreate();
|
|
|
| dir(packagesPath, [
|
| @@ -138,66 +138,6 @@ installCommand() {
|
| Dependencies installed!
|
| ''');
|
| });
|
| -
|
| - test('checks out a package from Git', () {
|
| - git('foo.git', [
|
| - file('foo.dart', 'main() => "foo";')
|
| - ]).scheduleCreate();
|
| -
|
| - dir(appPath, [
|
| - file('pubspec', '''
|
| -dependencies:
|
| - foo:
|
| - git: ../foo.git
|
| -''')
|
| - ]).scheduleCreate();
|
| -
|
| - dir(packagesPath, [
|
| - dir('foo', [
|
| - file('foo.dart', 'main() => "foo";')
|
| - ])
|
| - ]).scheduleValidate();
|
| -
|
| - runPub(args: ['install'],
|
| - output: const RegExp(@"^Cloning into[\s\S]*^Dependencies installed!$",
|
| - multiLine: true));
|
| - });
|
| -
|
| - test('checks out packages transitively from Git', () {
|
| - git('foo.git', [
|
| - file('foo.dart', 'main() => "foo";'),
|
| - file('pubspec', '''
|
| -dependencies:
|
| - bar:
|
| - git: ../bar.git
|
| -''')
|
| - ]).scheduleCreate();
|
| -
|
| - git('bar.git', [
|
| - file('bar.dart', 'main() => "bar";')
|
| - ]).scheduleCreate();
|
| -
|
| - dir(appPath, [
|
| - file('pubspec', '''
|
| -dependencies:
|
| - foo:
|
| - git: ../foo.git
|
| -''')
|
| - ]).scheduleCreate();
|
| -
|
| - dir(packagesPath, [
|
| - dir('foo', [
|
| - file('foo.dart', 'main() => "foo";')
|
| - ]),
|
| - dir('bar', [
|
| - file('bar.dart', 'main() => "bar";')
|
| - ])
|
| - ]).scheduleValidate();
|
| -
|
| - runPub(args: ['install'],
|
| - output: const RegExp("^Cloning into[\\s\\S]*^Dependencies installed!\$",
|
| - multiLine: true));
|
| - });
|
| }
|
|
|
| versionCommand() {
|
|
|