| Index: sdk/lib/_internal/pub/test/global/run/missing_executable_arg_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/global/activate/missing_package_arg_test.dart b/sdk/lib/_internal/pub/test/global/run/missing_executable_arg_test.dart
|
| similarity index 70%
|
| copy from sdk/lib/_internal/pub/test/global/activate/missing_package_arg_test.dart
|
| copy to sdk/lib/_internal/pub/test/global/run/missing_executable_arg_test.dart
|
| index 2eeba0ed7c64c06c757b6ed82f1a6cb2096f93e5..791b099f83288a2533b8060d9be063661a5b6048 100644
|
| --- a/sdk/lib/_internal/pub/test/global/activate/missing_package_arg_test.dart
|
| +++ b/sdk/lib/_internal/pub/test/global/run/missing_executable_arg_test.dart
|
| @@ -7,12 +7,12 @@ import '../../test_pub.dart';
|
|
|
| main() {
|
| initConfig();
|
| - integration('fails if no package was given', () {
|
| - schedulePub(args: ["global", "activate"],
|
| + integration('fails if no executable was given', () {
|
| + schedulePub(args: ["global", "run", "pkg"],
|
| error: """
|
| - No package to activate given.
|
| + Must specify an executable to run.
|
|
|
| - Usage: pub global activate <package> [version]
|
| + Usage: pub global run <package> <executable> [args...]
|
| -h, --help Print usage information for this command.
|
|
|
| Run "pub help" to see global options.
|
|
|