| Index: sdk/lib/_internal/pub_generated/test/global/binstubs/unknown_explicit_executable_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/global/binstubs/unknown_explicit_executable_test.dart b/sdk/lib/_internal/pub_generated/test/global/binstubs/unknown_explicit_executable_test.dart
|
| similarity index 65%
|
| copy from sdk/lib/_internal/pub/test/global/binstubs/unknown_explicit_executable_test.dart
|
| copy to sdk/lib/_internal/pub_generated/test/global/binstubs/unknown_explicit_executable_test.dart
|
| index ae1e0e0f3978dd17d6311f6974d79454ee8e4c04..e272cb6c0cb3e0e031f092e349eeac0fe8dc0174 100644
|
| --- a/sdk/lib/_internal/pub/test/global/binstubs/unknown_explicit_executable_test.dart
|
| +++ b/sdk/lib/_internal/pub_generated/test/global/binstubs/unknown_explicit_executable_test.dart
|
| @@ -11,22 +11,27 @@ import '../../test_pub.dart';
|
| main() {
|
| initConfig();
|
| integration("errors on an unknown explicit executable", () {
|
| - d.dir("foo", [
|
| - d.pubspec({
|
| + d.dir("foo", [d.pubspec({
|
| "name": "foo",
|
| "executables": {
|
| "one": "one"
|
| }
|
| }),
|
| - d.dir("bin", [
|
| - d.file("one.dart", "main() => print('ok');")
|
| - ])
|
| - ]).create();
|
| + d.dir("bin", [d.file("one.dart", "main() => print('ok');")])]).create();
|
|
|
| - var pub = startPub(args: [
|
| - "global", "activate", "--source", "path", "../foo",
|
| - "-x", "who", "-x", "one", "--executable", "wat"
|
| - ]);
|
| + var pub = startPub(
|
| + args: [
|
| + "global",
|
| + "activate",
|
| + "--source",
|
| + "path",
|
| + "../foo",
|
| + "-x",
|
| + "who",
|
| + "-x",
|
| + "one",
|
| + "--executable",
|
| + "wat"]);
|
|
|
| pub.stdout.expect(consumeThrough("Installed executable one."));
|
| pub.stderr.expect("Unknown executables wat and who.");
|
|
|