Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1200)

Unified Diff: sdk/lib/_internal/pub/test/global/run/missing_package_arg_test.dart

Issue 354763006: Add a "pub global run" command. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/pub/test/global/run/missing_package_arg_test.dart
diff --git a/sdk/lib/_internal/pub/test/global/deactivate/missing_package_arg_test.dart b/sdk/lib/_internal/pub/test/global/run/missing_package_arg_test.dart
similarity index 76%
copy from sdk/lib/_internal/pub/test/global/deactivate/missing_package_arg_test.dart
copy to sdk/lib/_internal/pub/test/global/run/missing_package_arg_test.dart
index 33a2a1b86e8c7b5acb7e5a273f99ec34fb696ca5..7184367a040b0e91ddd88e382b7d195fff2523a5 100644
--- a/sdk/lib/_internal/pub/test/global/deactivate/missing_package_arg_test.dart
+++ b/sdk/lib/_internal/pub/test/global/run/missing_package_arg_test.dart
@@ -8,11 +8,11 @@ import '../../test_pub.dart';
main() {
initConfig();
integration('fails if no package was given', () {
- schedulePub(args: ["global", "deactivate"],
+ schedulePub(args: ["global", "run"],
error: """
- No package to deactivate given.
+ Must specify a package and executable to run.
- Usage: pub global deactivate <package>
+ Usage: pub global run <package> <executable> [args...]
-h, --help Print usage information for this command.
""",
exitCode: exit_codes.USAGE);

Powered by Google App Engine
This is Rietveld 408576698