mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-08-04 02:06:29 -04:00
tweaked tests to reflect fix for mutually exclusive switches
This commit is contained in:
parent
fc9d87a003
commit
94ed69a0d9
@ -1,5 +1,5 @@
|
||||
PARSE ERROR:
|
||||
Too many arguments!
|
||||
PARSE ERROR: Argument: -i (--iii)
|
||||
Mutually exclusive argument already set!
|
||||
|
||||
Brief USAGE:
|
||||
../examples/test5 {-a <string>|-b <string>} {--eee <string>|--fff
|
||||
|
@ -1,6 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
# failure
|
||||
# This used to fail on the "Too many arguments!" but now fails sooner,
|
||||
# and on a more approriate error.
|
||||
../examples/test5 --aaa asdf -c fdas --fff blah -i one -i two -j huh > tmp.out 2>&1
|
||||
|
||||
if cmp -s tmp.out $srcdir/test57.out; then
|
||||
|
@ -1,4 +1,4 @@
|
||||
PARSE ERROR: Argument: -a (--atmc)
|
||||
PARSE ERROR: Argument: -b (--btmc)
|
||||
Mutually exclusive argument already set!
|
||||
|
||||
Brief USAGE:
|
||||
|
Loading…
x
Reference in New Issue
Block a user