| Index: sdk/lib/_internal/pub_generated/test/global/binstubs/missing_script_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/global/binstubs/missing_script_test.dart b/sdk/lib/_internal/pub_generated/test/global/binstubs/missing_script_test.dart
|
| similarity index 66%
|
| copy from sdk/lib/_internal/pub/test/global/binstubs/missing_script_test.dart
|
| copy to sdk/lib/_internal/pub_generated/test/global/binstubs/missing_script_test.dart
|
| index bcd30b1e7cb1cfc7d51624227d2de7471d892d7a..c8b617adeecd466a780e030c26664904e148569b 100644
|
| --- a/sdk/lib/_internal/pub/test/global/binstubs/missing_script_test.dart
|
| +++ b/sdk/lib/_internal/pub_generated/test/global/binstubs/missing_script_test.dart
|
| @@ -10,22 +10,22 @@ import '../../test_pub.dart';
|
| main() {
|
| initConfig();
|
| integration("errors if an executable's script can't be found", () {
|
| - d.dir("foo", [
|
| - d.pubspec({
|
| + d.dir("foo", [d.pubspec({
|
| "name": "foo",
|
| "executables": {
|
| "missing": "not_here",
|
| "nope": null
|
| }
|
| - })
|
| - ]).create();
|
| + })]).create();
|
|
|
| var pub = startPub(args: ["global", "activate", "-spath", "../foo"]);
|
|
|
| - pub.stderr.expect('Warning: Executable "missing" runs '
|
| - '"${p.join('bin', 'not_here.dart')}", which was not found in foo.');
|
| - pub.stderr.expect('Warning: Executable "nope" runs '
|
| - '"${p.join('bin', 'nope.dart')}", which was not found in foo.');
|
| + pub.stderr.expect(
|
| + 'Warning: Executable "missing" runs '
|
| + '"${p.join('bin', 'not_here.dart')}", which was not found in foo.');
|
| + pub.stderr.expect(
|
| + 'Warning: Executable "nope" runs '
|
| + '"${p.join('bin', 'nope.dart')}", which was not found in foo.');
|
| pub.shouldExit();
|
| });
|
| }
|
|
|