diff options
| author | Junio C Hamano <gitster@pobox.com> | 2018-04-10 16:28:20 +0900 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-04-10 16:28:20 +0900 |
| commit | 62c0fd46a875050e904831a73ef4375ed26cfaf6 (patch) | |
| tree | 9bb09418c52e02a93f55c62826574ad26ac20f5b /t/t0040-parse-options.sh | |
| parent | 69d71ec4433d21f464d83b529432856da2387bba (diff) | |
| parent | 3bb0923f06c55ea44569f547cefa9e1a59069ff2 (diff) | |
| download | git-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-x | t/t0040-parse-options.sh | 2 |
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 |
