| Index: sdk/lib/_internal/pub_generated/test/global/binstubs/explicit_and_no_executables_options_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/global/binstubs/explicit_and_no_executables_options_test.dart b/sdk/lib/_internal/pub_generated/test/global/binstubs/explicit_and_no_executables_options_test.dart
|
| similarity index 60%
|
| copy from sdk/lib/_internal/pub/test/global/binstubs/explicit_and_no_executables_options_test.dart
|
| copy to sdk/lib/_internal/pub_generated/test/global/binstubs/explicit_and_no_executables_options_test.dart
|
| index 65c67adaff927e92804e707114f42dd2d54a09a5..d93ed56291c065234b08853fd7d01ce415507566 100644
|
| --- a/sdk/lib/_internal/pub/test/global/binstubs/explicit_and_no_executables_options_test.dart
|
| +++ b/sdk/lib/_internal/pub_generated/test/global/binstubs/explicit_and_no_executables_options_test.dart
|
| @@ -11,14 +11,19 @@ import '../../test_pub.dart';
|
| main() {
|
| initConfig();
|
| integration("errors if -x and --no-executables are both passed", () {
|
| - d.dir("foo", [
|
| - d.libPubspec("foo", "1.0.0")
|
| - ]).create();
|
| + d.dir("foo", [d.libPubspec("foo", "1.0.0")]).create();
|
|
|
| - schedulePub(args: [
|
| - "global", "activate", "--source", "path", "../foo",
|
| - "-x", "anything", "--no-executables"
|
| - ], error: contains("Cannot pass both --no-executables and --executable."),
|
| + schedulePub(
|
| + args: [
|
| + "global",
|
| + "activate",
|
| + "--source",
|
| + "path",
|
| + "../foo",
|
| + "-x",
|
| + "anything",
|
| + "--no-executables"],
|
| + error: contains("Cannot pass both --no-executables and --executable."),
|
| exitCode: exit_codes.USAGE);
|
| });
|
| }
|
|
|