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

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

Issue 341433009: Pub global deactivate 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/deactivate/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/deactivate/unexpected_arguments_test.dart
similarity index 81%
copy from sdk/lib/_internal/pub/test/global/activate/unexpected_arguments_test.dart
copy to sdk/lib/_internal/pub/test/global/deactivate/unexpected_arguments_test.dart
index c12902232ad5d4f55074f70431c0bcbac17f3886..9057ebf24c32ac76801ea16a5eda7ef0476e5d9c 100644
--- a/sdk/lib/_internal/pub/test/global/activate/unexpected_arguments_test.dart
+++ b/sdk/lib/_internal/pub/test/global/deactivate/unexpected_arguments_test.dart
@@ -8,11 +8,11 @@ import '../../test_pub.dart';
main() {
initConfig();
integration('fails if there are extra arguments', () {
- schedulePub(args: ["global", "activate", "foo", "1.0.0", "bar", "baz"],
+ schedulePub(args: ["global", "deactivate", "foo", "bar", "baz"],
error: """
Unexpected arguments "bar" and "baz".
- Usage: pub global activate <package> [version]
+ Usage: pub global deactivate <package>
-h, --help Print usage information for this command.
""",
exitCode: exit_codes.USAGE);

Powered by Google App Engine
This is Rietveld 408576698