| Index: utils/tests/pub/pub_install_test.dart
|
| diff --git a/utils/tests/pub/pub_install_test.dart b/utils/tests/pub/pub_install_test.dart
|
| index e5d35397ca5f70cf2e390004c8f98f561b0575ce..ac0573e1f1804bcf9fa97ecf6d9cde9d8817a24a 100644
|
| --- a/utils/tests/pub/pub_install_test.dart
|
| +++ b/utils/tests/pub/pub_install_test.dart
|
| @@ -48,4 +48,51 @@ main() {
|
|
|
| run();
|
| });
|
| +
|
| + group('creates a packages directory in', () {
|
| + test('"test/" and its subdirectories', () {
|
| + dir(appPath, [
|
| + appPubspec([]),
|
| + dir("test", [dir("subtest")])
|
| + ]).scheduleCreate();
|
| +
|
| + schedulePub(args: ['install'],
|
| + output: const RegExp(@"Dependencies installed!$"));
|
| +
|
| + dir(appPath, [
|
| + dir("test", [
|
| + dir("packages", [
|
| + dir("myapp", [appPubspec([])])
|
| + ]),
|
| + dir("subtest", [
|
| + dir("packages", [
|
| + dir("myapp", [appPubspec([])])
|
| + ])
|
| + ])
|
| + ])
|
| + ]).scheduleValidate();
|
| +
|
| + run();
|
| + });
|
| +
|
| + test('"bin/"', () {
|
| + dir(appPath, [
|
| + appPubspec([]),
|
| + dir("bin")
|
| + ]).scheduleCreate();
|
| +
|
| + schedulePub(args: ['install'],
|
| + output: const RegExp(@"Dependencies installed!$"));
|
| +
|
| + dir(appPath, [
|
| + dir("bin", [
|
| + dir("packages", [
|
| + dir("myapp", [appPubspec([])])
|
| + ])
|
| + ])
|
| + ]).scheduleValidate();
|
| +
|
| + run();
|
| + });
|
| + });
|
| }
|
|
|