cmd/xurls/testdata/script/flags.txtar
raw| 1 | exec xurls -h |
| 2 | ! stderr 'flag provided but not defined' |
| 3 | stderr 'Usage: xurls' |
| 4 | ! stderr 'help requested' # don't duplicate usage output |
| 5 | ! stderr '-test\.' # don't show the test binary's usage func |
| 6 | |
| 7 | ! exec xurls -r -m="whatever" |
| 8 | stderr 'at the same time' |
| 9 | |
| 10 | ! exec xurls -m="bad(regexp" |
| 11 | stderr 'missing closing \)' |