From 56426af2c41e3b2a4cc22443c1313ffce1c6e869 Mon Sep 17 00:00:00 2001 From: Kevin K Date: Thu, 2 Apr 2015 22:39:29 -0400 Subject: [PATCH] test(claptests): fix test known goods to new error messages --- claptests/run_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/claptests/run_tests.py b/claptests/run_tests.py index 527342c9..f373c472 100755 --- a/claptests/run_tests.py +++ b/claptests/run_tests.py @@ -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']],