diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-04-12 16:27:11 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-04-13 15:52:47 -0700 |
commit | 68b2a0055c9936235fac6559de783f39fb790318 (patch) | |
tree | a53bc424c681b4293ea4f1ed6f96987e0a75d8a5 /t/t4014-format-patch.sh | |
parent | fff1bb3a349687e262ba4fcf5f333af07be9d149 (diff) | |
download | git-68b2a0055c9936235fac6559de783f39fb790318.tar.gz |
i18n: use test_i18ncmp and test_i18ngrep in t3700, t4001 and t4014
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4014-format-patch.sh')
-rwxr-xr-x | t/t4014-format-patch.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/t/t4014-format-patch.sh b/t/t4014-format-patch.sh index c3cdb52053..37a4109c97 100755 --- a/t/t4014-format-patch.sh +++ b/t/t4014-format-patch.sh @@ -614,13 +614,13 @@ echo "fatal: --name-only does not make sense" > expect.name-only echo "fatal: --name-status does not make sense" > expect.name-status echo "fatal: --check does not make sense" > expect.check -test_expect_success C_LOCALE_OUTPUT 'options no longer allowed for format-patch' ' +test_expect_success 'options no longer allowed for format-patch' ' test_must_fail git format-patch --name-only 2> output && - test_cmp expect.name-only output && + test_i18ncmp expect.name-only output && test_must_fail git format-patch --name-status 2> output && - test_cmp expect.name-status output && + test_i18ncmp expect.name-status output && test_must_fail git format-patch --check 2> output && - test_cmp expect.check output' + test_i18ncmp expect.check output' test_expect_success 'format-patch --numstat should produce a patch' ' git format-patch --numstat --stdout master..side > output && |