clap/tests
CastilloDel 88ac1f1803 Add assertions for required and default simultaneously
Add the suggested changes

Fix test issue_1050_num_vals_and_defaults

It used a required which isn't needed for the purpose of the test.

Add tests for the default+required assertions

Add test for positional args with long or short
2020-10-24 12:10:07 +01: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 Change MissingArgumentOrSubcommand to DisplayHelpOnMissingArgumentOrSubcommand and don't use stderr 2020-10-11 15:42:47 +08: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 Add assertions for required and default simultaneously 2020-10-24 12:10:07 +01: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 Fix: Don't mention unused subcommands (Partly cherry pick ef92e2b) 2020-10-10 03:34:28 +08:00
global_args.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
groups.rs Fix: Don't mention unused subcommands (Partly cherry pick ef92e2b) 2020-10-10 03:34:28 +08:00
help.rs Add option to hide autogenerated env section from help text 2020-10-17 16:48:35 -05:00
hidden_args.rs Sort options base on option's short and long representation 2020-10-11 02:08:10 +08: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 Fix typos and grammar 2020-10-10 16:22:05 +03:00
opts.rs Don't use default value when option is passed 2020-10-14 20:00:40 +01:00
positionals.rs Add assertions for required and default simultaneously 2020-10-24 12:10:07 +01: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 Fix: Don't mention unused subcommands (Partly cherry pick ef92e2b) 2020-10-10 03:34:28 +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