clap/tests
Bence Kalmar 4bf3f97d28 fix(arg_enum!): Invalid expansions of some trailing-comma patterns
In particular, fix macros that take an enum of one of the the following forms:

 - `#[...] enum { ... , }`
 - `pub enum { ... , }`
 - `enum { ... , }`

Previously, these expansions would result in an error message like "error: no
rules expected the token `:`".

Add extensive tests for each pattern.  Only two of the patterns had tests
before, so these errors did not surface automatically.
2020-04-10 09:35:20 +02:00
..
fixtures Fix some issues 2020-04-09 19:41:33 +02:00
app_from_crate.rs Use 'Clap Maintainers' as authors 2020-02-10 20:16:25 +01:00
app_settings.rs Turn some integration tests into unit tests 2020-03-19 10:49:49 +03:00
arg_aliases.rs Put the test helper in tests 2020-02-04 09:51:46 +01:00
borrowed.rs Put the test helper in tests 2020-02-04 09:51:46 +01:00
cargo.rs Use 'Clap Maintainers' as authors 2020-02-10 20:16:25 +01:00
conflicts.rs Address review comments 2020-04-10 00:33:16 +02:00
default_vals.rs Put the test helper in tests 2020-02-04 09:51:46 +01:00
delimiters.rs Put the test helper in tests 2020-02-04 09:51:46 +01:00
derive_order.rs Put the test helper in tests 2020-02-04 09:51:46 +01:00
env.rs Put the test helper in tests 2020-02-04 09:51:46 +01:00
flags.rs Turn some integration tests into unit tests 2020-03-19 10:49:49 +03:00
global_args.rs Put the test helper in tests 2020-02-04 09:51:46 +01:00
groups.rs Address review comments 2020-04-10 00:33:16 +02:00
help.rs Address review comments 2020-04-10 00:33:16 +02:00
hidden_args.rs Put the test helper in tests 2020-02-04 09:51:46 +01:00
indices.rs Put the test helper in tests 2020-02-04 09:51:46 +01:00
macros.rs fix(arg_enum!): Invalid expansions of some trailing-comma patterns 2020-04-10 09:35:20 +02:00
multiple_occurrences.rs Put the test helper in tests 2020-02-04 09:51:46 +01:00
multiple_values.rs Fix ArgMatcher consuming extra arguments when max_values is set 2020-04-10 09:35:20 +02:00
opts.rs Put the test helper in tests 2020-02-04 09:51:46 +01:00
positionals.rs Address review comments 2020-04-10 00:33:16 +02:00
posix_compatible.rs Put the test helper in tests 2020-02-04 09:51:46 +01:00
possible_values.rs Put the test helper in tests 2020-02-04 09:51:46 +01:00
propagate_globals.rs Put the test helper in tests 2020-02-04 09:51:46 +01:00
require.rs Address review comments 2020-04-10 00:33:16 +02:00
subcommands.rs fix formatting 2020-04-02 06:48:01 -07:00
template_help.rs Put the test helper in tests 2020-02-04 09:51:46 +01:00
tests.rs Put the test helper in tests 2020-02-04 09:51:46 +01:00
unique_args.rs Address review comments 2020-04-10 00:33:16 +02:00
utf8.rs Put the test helper in tests 2020-02-04 09:51:46 +01:00
utils.rs Put the test helper in tests 2020-02-04 09:51:46 +01:00
version-numbers.rs Remove #[macro_use] from tests 2020-02-03 12:01:36 -05:00
version.rs Put the test helper in tests 2020-02-04 09:51:46 +01:00
yaml.rs Put the test helper in tests 2020-02-04 09:51:46 +01:00