X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft0040-parse-options.sh;h=3d450ed379fcd1bf480fc75feb0e6ddb8f05e5be;hb=6a09ff14fb1df8f05f4a800fca6e2d9d670445bd;hp=bbc821ef97de76ef532ec1d1d704da15e8973500;hpb=702beb3af0531bae95ab559fff043785614d53f2;p=git.git diff --git a/t/t0040-parse-options.sh b/t/t0040-parse-options.sh index bbc821ef9..3d450ed37 100755 --- a/t/t0040-parse-options.sh +++ b/t/t0040-parse-options.sh @@ -33,6 +33,8 @@ Magic arguments --quux means --quux -NUM set integer to NUM + same as -b + --ambiguous positive ambiguity + --no-ambiguous negative ambiguity Standard options --abbrev[=] use digits to display SHA-1s @@ -315,4 +317,22 @@ test_expect_success 'OPT_NUMBER_CALLBACK() works' ' test_cmp expect output ' +cat >expect <output 2>output.err && + test ! -s output.err && + test_cmp expect output +' + test_done