Chromium Code Reviews

Unified Diff: test/global/run/missing_executable_arg_test.dart

Issue 1278813003: Fix pub tests that print run or global run usage. (Closed) Base URL: https://github.com/dart-lang/pub.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: test/global/run/missing_executable_arg_test.dart
diff --git a/test/global/run/missing_executable_arg_test.dart b/test/global/run/missing_executable_arg_test.dart
index cfb8c397c2f7b534d91b89f5820acb4b6ee554b8..8b5fb41124b8667e20661bab648b7a5bf41d05cb 100644
--- a/test/global/run/missing_executable_arg_test.dart
+++ b/test/global/run/missing_executable_arg_test.dart
@@ -13,9 +13,10 @@ main() {
Must specify an executable to run.
Usage: pub global run <package>:<executable> [args...]
- -h, --help Print this usage information.
- --mode Mode to run transformers in.
- (defaults to "release")
+ -h, --help Print this usage information.
+ -c, --[no-]checked Enable runtime type checks and assertions.
+ --mode Mode to run transformers in.
+ (defaults to "release")
Run "pub help" to see global options.
""",
« no previous file with comments | « test/global/run/errors_if_outside_bin_test.dart ('k') | test/run/errors_if_no_executable_is_given_test.dart » ('j') | no next file with comments »

Powered by Google App Engine