clap/tests
Donough Liu 9766aa11b1 Remove redundant(wrong) error processing
Argument prefixed by `-` will never inferred as a subcommand

Suggest using subcommand when supplied after `--`

Cargo fmt, adding test for wrongly using subcommand after `--`

Fix test

Fix clippy
2020-10-10 00:06:50 +08:00
..
fixtures Add new "regex" feature 2020-08-26 17:54:54 +02:00
app_from_crate.rs style: rename ErrorKind::{VersionDisplayed, HelpDisplayed} to present tense 2020-07-20 10:27:07 +09:00
app_settings.rs Adjust examples and tests 2020-08-05 17:07:13 +03:00
arg_aliases.rs fix: detect if space should be added before spec_vals 2020-08-25 10:41:08 +03:00
arg_aliases_short.rs fix: detect if space should be added before spec_vals 2020-08-25 10:41:08 +03:00
borrowed.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
cargo.rs style: rename ErrorKind::{VersionDisplayed, HelpDisplayed} to present tense 2020-07-20 10:27:07 +09:00
conflicts.rs Refactor coloring 2020-08-28 19:21:05 +03:00
default_missing_vals.rs tests ~ add tests for new 'default_missing_value' configuration option 2020-05-21 13:06:45 -05:00
default_vals.rs Arg::required_if => required_if_eq 2020-08-15 20:38:55 +03:00
delimiters.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
derive_order.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
env.rs Make sure that command line OVERRIDES env, not prepends (fix #1835) 2020-04-22 11:35:20 +03:00
examples.rs Exclude tests/examples.rs while checking coverage. 2020-08-24 10:23:49 -07:00
flag_subcommands.rs Fix and rearrange debug asserts 2020-08-12 06:12:42 +03:00
flags.rs Turn some integration tests into unit tests 2020-03-19 10:49:49 +03:00
global_args.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
groups.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
help.rs Merge #2143 2020-09-26 06:55:58 +00:00
hidden_args.rs fix spaces in long help tests 2020-08-20 17:28:40 +03:00
indices.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
macros.rs Merge #2019 2020-07-19 10:28:03 +00:00
multiple_occurrences.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
multiple_values.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
opts.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
positionals.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
posix_compatible.rs Fix various typos in docs & code 2020-07-19 03:10:28 +03:00
possible_values.rs Fix clippy errors 2020-09-25 10:38:35 +02:00
propagate_globals.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
require.rs Rename required_unless_eq_* to required_unless_present_* 2020-08-29 11:48:35 +02:00
subcommands.rs Remove redundant(wrong) error processing 2020-10-10 00:06:50 +08:00
template_help.rs Put the test helper in tests 2020-02-04 09:51:46 +01:00
tests.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
unique_args.rs Fix warnings 2020-05-31 17:53:24 +03:00
utf8.rs Put the test helper in tests 2020-02-04 09:51:46 +01:00
utf16.rs add tests for invalid UTF-16 on Windows 2020-05-05 18:18:30 -04:00
utils.rs Fix various typos in docs & code 2020-07-19 03:10:28 +03:00
validators.rs Refactor coloring 2020-08-28 19:21:05 +03:00
version-numbers.rs Remove #[macro_use] from tests 2020-02-03 12:01:36 -05:00
version.rs Refactor coloring 2020-08-28 19:21:05 +03:00
yaml.rs Add new "regex" feature 2020-08-26 17:54:54 +02:00