| Index: sdk/lib/_internal/pub_generated/test/global/binstubs/binstub_runs_executable_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/global/binstubs/binstub_runs_executable_test.dart b/sdk/lib/_internal/pub_generated/test/global/binstubs/binstub_runs_executable_test.dart
|
| similarity index 84%
|
| copy from sdk/lib/_internal/pub/test/global/binstubs/binstub_runs_executable_test.dart
|
| copy to sdk/lib/_internal/pub_generated/test/global/binstubs/binstub_runs_executable_test.dart
|
| index a3353e967e6841b0e0718fa33e10e9b282f699f6..314c2e5a85b0249000a09f5467f4a81b7d88a0b2 100644
|
| --- a/sdk/lib/_internal/pub/test/global/binstubs/binstub_runs_executable_test.dart
|
| +++ b/sdk/lib/_internal/pub_generated/test/global/binstubs/binstub_runs_executable_test.dart
|
| @@ -20,11 +20,9 @@ main() {
|
| "executables": {
|
| "foo-script": "script"
|
| }
|
| - }, contents: [
|
| - d.dir("bin", [
|
| - d.file("script.dart", "main(args) => print('ok \$args');")
|
| - ])
|
| - ]);
|
| + },
|
| + contents: [
|
| + d.dir("bin", [d.file("script.dart", "main(args) => print('ok \$args');")])]);
|
| });
|
|
|
| schedulePub(args: ["global", "activate", "foo"]);
|
| @@ -39,17 +37,15 @@ main() {
|
| });
|
|
|
| integration("the generated binstub runs a non-snapshotted executable", () {
|
| - d.dir("foo", [
|
| - d.pubspec({
|
| + d.dir("foo", [d.pubspec({
|
| "name": "foo",
|
| "executables": {
|
| "foo-script": "script"
|
| }
|
| }),
|
| - d.dir("bin", [
|
| - d.file("script.dart", "main(args) => print('ok \$args');")
|
| - ])
|
| - ]).create();
|
| + d.dir(
|
| + "bin",
|
| + [d.file("script.dart", "main(args) => print('ok \$args');")])]).create();
|
|
|
| schedulePub(args: ["global", "activate", "-spath", "../foo"]);
|
|
|
|
|