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

Unified Diff: sdk/lib/_internal/pub/test/pub_cache_test.dart

Issue 138723005: Support subcommands in pub and pub help. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Infer hiddenness from subcommands. Created 6 years, 10 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/pub_cache_test.dart
diff --git a/sdk/lib/_internal/pub/test/pub_cache_test.dart b/sdk/lib/_internal/pub/test/pub_cache_test.dart
index 91bc4a0ca7adf369d5b74138aa787240e72817c5..448316615cffc962d4f54fae30ec981bd3a92fdf 100644
--- a/sdk/lib/_internal/pub/test/pub_cache_test.dart
+++ b/sdk/lib/_internal/pub/test/pub_cache_test.dart
@@ -17,30 +17,6 @@ main() {
"pub.dartlang.org", package);
}
- integration('running pub cache displays error message', () {
- schedulePub(args: ['cache'],
- output: '''
- Inspect the system cache.
-
- Usage: pub cache list
- -h, --help Print usage information for this command.
- ''',
- error: 'The cache command expects one argument.',
- exitCode: 64);
- });
-
- integration('running pub cache foo displays error message', () {
- schedulePub(args: ['cache' ,'foo'],
- output: '''
- Inspect the system cache.
-
- Usage: pub cache list
- -h, --help Print usage information for this command.
- ''',
- error: 'Unknown cache command "foo".',
- exitCode: 64);
- });
-
integration('running pub cache list when there is no cache', () {
schedulePub(args: ['cache', 'list'], output: '{"packages":{}}');
});
« no previous file with comments | « sdk/lib/_internal/pub/test/lish/package_creation_provides_an_error_test.dart ('k') | sdk/lib/_internal/pub/test/pub_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698