aboutsummaryrefslogtreecommitdiffstats
path: root/t/t0040-parse-options.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-04-10 16:28:20 +0900
committerJunio C Hamano <gitster@pobox.com>2018-04-10 16:28:20 +0900
commit62c0fd46a875050e904831a73ef4375ed26cfaf6 (patch)
tree9bb09418c52e02a93f55c62826574ad26ac20f5b /t/t0040-parse-options.sh
parent69d71ec4433d21f464d83b529432856da2387bba (diff)
parent3bb0923f06c55ea44569f547cefa9e1a59069ff2 (diff)
downloadgit-62c0fd46a875050e904831a73ef4375ed26cfaf6.tar.gz
Merge branch 'ps/contains-id-error-message'
"git tag --contains no-such-commit" gave a full list of options after giving an error message. * ps/contains-id-error-message: parse-options: do not show usage upon invalid option value
Diffstat (limited to 't/t0040-parse-options.sh')
-rwxr-xr-xt/t0040-parse-options.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0040-parse-options.sh b/t/t0040-parse-options.sh
index 0c2fc81d7b..04d474c84f 100755
--- a/t/t0040-parse-options.sh
+++ b/t/t0040-parse-options.sh
@@ -291,7 +291,7 @@ test_expect_success 'OPT_CALLBACK() and OPT_BIT() work' '
test_expect_success 'OPT_CALLBACK() and callback errors work' '
test_must_fail test-parse-options --no-length >output 2>output.err &&
test_i18ncmp expect output &&
- test_i18ncmp expect.err output.err
+ test_must_be_empty output.err
'
cat >expect <<\EOF