| Index: sdk/lib/_internal/pub/test/global/run/missing_package_name_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/global/run/missing_package_arg_test.dart b/sdk/lib/_internal/pub/test/global/run/missing_package_name_test.dart
|
| similarity index 69%
|
| rename from sdk/lib/_internal/pub/test/global/run/missing_package_arg_test.dart
|
| rename to sdk/lib/_internal/pub/test/global/run/missing_package_name_test.dart
|
| index dac0523db7c983690ec77b302dd21e34a5ef68e6..a007a0b6119710353102a9267c50096a48e7a2cd 100644
|
| --- a/sdk/lib/_internal/pub/test/global/run/missing_package_arg_test.dart
|
| +++ b/sdk/lib/_internal/pub/test/global/run/missing_package_name_test.dart
|
| @@ -7,12 +7,12 @@ import '../../test_pub.dart';
|
|
|
| main() {
|
| initConfig();
|
| - integration('fails if no package was given', () {
|
| - schedulePub(args: ["global", "run"],
|
| + integration('fails if no package name was given', () {
|
| + schedulePub(args: ["global", "run", "foo"],
|
| error: """
|
| - Must specify a package and executable to run.
|
| + Must specify a package from which to run the executable.
|
|
|
| - Usage: pub global run <package> <executable> [args...]
|
| + Usage: pub global run <package>:<executable> [args...]
|
| -h, --help Print usage information for this command.
|
|
|
| Run "pub help" to see global options.
|
|
|