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

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

Issue 399763002: Use ":" to separate package and executable name in pub global run. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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_executable_arg_test.dart
diff --git a/sdk/lib/_internal/pub/test/global/run/missing_executable_arg_test.dart b/sdk/lib/_internal/pub/test/global/run/missing_executable_arg_test.dart
index 791b099f83288a2533b8060d9be063661a5b6048..3e7a075a523f5c9e92d305ddf86930cb325b48ae 100644
--- a/sdk/lib/_internal/pub/test/global/run/missing_executable_arg_test.dart
+++ b/sdk/lib/_internal/pub/test/global/run/missing_executable_arg_test.dart
@@ -8,11 +8,11 @@ import '../../test_pub.dart';
main() {
initConfig();
integration('fails if no executable was given', () {
- schedulePub(args: ["global", "run", "pkg"],
+ schedulePub(args: ["global", "run"],
error: """
Must specify an executable to run.
- 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.

Powered by Google App Engine
This is Rietveld 408576698