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

Unified Diff: sdk/lib/_internal/pub/test/global/activate/unexpected_arguments_test.dart

Issue 428313004: Support activating packages from local paths. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix deactivate. Created 6 years, 4 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/activate/unexpected_arguments_test.dart
diff --git a/sdk/lib/_internal/pub/test/global/activate/unexpected_arguments_test.dart b/sdk/lib/_internal/pub/test/global/activate/unexpected_arguments_test.dart
index 0e08982a818954f0d6f58567fce083901df0e34e..82a94de026f648b9965aec1d361ac012884f17df 100644
--- a/sdk/lib/_internal/pub/test/global/activate/unexpected_arguments_test.dart
+++ b/sdk/lib/_internal/pub/test/global/activate/unexpected_arguments_test.dart
@@ -12,11 +12,12 @@ main() {
error: """
Unexpected arguments "bar" and "baz".
- Usage: pub global activate <package> [version]
- -h, --help Print usage information for this command.
+ Usage: pub global activate <package...>
+ -h, --help Print usage information for this command.
+ -s, --source The source used to find the package.
+ [hosted (default), path]
- Run "pub help" to see global options.
- """,
+ Run "pub help" to see global options.""",
exitCode: exit_codes.USAGE);
});
}

Powered by Google App Engine
This is Rietveld 408576698