summaryrefslogtreecommitdiff
path: root/t/t3700-add.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-04-12 23:27:11 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-04-13 22:52:47 (GMT)
commit68b2a0055c9936235fac6559de783f39fb790318 (patch)
treea53bc424c681b4293ea4f1ed6f96987e0a75d8a5 /t/t3700-add.sh
parentfff1bb3a349687e262ba4fcf5f333af07be9d149 (diff)
downloadgit-68b2a0055c9936235fac6559de783f39fb790318.zip
git-68b2a0055c9936235fac6559de783f39fb790318.tar.gz
git-68b2a0055c9936235fac6559de783f39fb790318.tar.bz2
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/t3700-add.sh')
-rwxr-xr-xt/t3700-add.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/t/t3700-add.sh b/t/t3700-add.sh
index 7de42fa..575d950 100755
--- a/t/t3700-add.sh
+++ b/t/t3700-add.sh
@@ -271,9 +271,9 @@ test_expect_success 'git add --dry-run of non-existing file' "
test_must_fail git add --dry-run track-this ignored-file >actual 2>&1
"
-test_expect_success C_LOCALE_OUTPUT 'git add --dry-run of an existing file output' "
+test_expect_success 'git add --dry-run of an existing file output' "
echo \"fatal: pathspec 'ignored-file' did not match any files\" >expect &&
- test_cmp expect actual
+ test_i18ncmp expect actual
"
cat >expect.err <<\EOF
@@ -290,9 +290,9 @@ test_expect_success 'git add --dry-run --ignore-missing of non-existing file' '
test_must_fail git add --dry-run --ignore-missing track-this ignored-file >actual.out 2>actual.err
'
-test_expect_success C_LOCALE_OUTPUT 'git add --dry-run --ignore-missing of non-existing file output' '
- test_cmp expect.out actual.out &&
- test_cmp expect.err actual.err
+test_expect_success 'git add --dry-run --ignore-missing of non-existing file output' '
+ test_i18ncmp expect.out actual.out &&
+ test_i18ncmp expect.err actual.err
'
test_done