mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52:33 +00:00
test(claptests): fix test known goods to new error messages
This commit is contained in:
parent
bff945fc5d
commit
56426af2c4
1 changed files with 2 additions and 2 deletions
|
@ -8,11 +8,11 @@ _bin = './target/release/claptests'
|
|||
cmds = {'help short: ': ['{} -h | wc -l'.format(_bin), ['26']],
|
||||
'help long: ': ['{} --help | wc -l'.format(_bin), ['26']],
|
||||
'help subcmd: ': ['{} help | wc -l'.format(_bin), ['26']],
|
||||
'excluded first: ': ['{} -f -F'.format(_bin), ['The argument -F is mutually exclusive with one or more other arguments',
|
||||
'excluded first: ': ['{} -f -F'.format(_bin), ['The argument -f cannot be used with one or more of the other specified arguments',
|
||||
'USAGE:',
|
||||
' claptests [FLAGS] [OPTIONS] --long-option-2=option2 [POSITIONAL] [SUBCOMMANDS]',
|
||||
'For more information try --help']],
|
||||
'excluded last: ': ['{} -F -f'.format(_bin), ['The argument -f is mutually exclusive with one or more other arguments',
|
||||
'excluded last: ': ['{} -F -f'.format(_bin), ['The argument -f cannot be used with one or more of the other specified arguments',
|
||||
'USAGE:',
|
||||
' claptests [FLAGS] [OPTIONS] --long-option-2=option2 [POSITIONAL] [SUBCOMMANDS]',
|
||||
'For more information try --help']],
|
||||
|
|
Loading…
Reference in a new issue