diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-04-20 17:23:36 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-04-20 17:23:36 -0700 |
commit | 522010b5731b9864b5714e582e8dbfd55ee1b90b (patch) | |
tree | 385e1d0a34e35c2bad8aa281b321e3b3978650e7 /t/t6300-for-each-ref.sh | |
parent | e02f75c9eb45aaf07e0589137490ec929e0439c7 (diff) | |
parent | feeb03bce60a0ae635fa4d80b9557892949af76f (diff) | |
download | git-522010b5731b9864b5714e582e8dbfd55ee1b90b.tar.gz |
Merge branch 'ab/detox-gettext-tests'
Test clean-up.
* ab/detox-gettext-tests:
tests: remove all uses of test_i18cmp
Diffstat (limited to 't/t6300-for-each-ref.sh')
-rwxr-xr-x | t/t6300-for-each-ref.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t6300-for-each-ref.sh b/t/t6300-for-each-ref.sh index 2e7c32d50c..9e0214076b 100755 --- a/t/t6300-for-each-ref.sh +++ b/t/t6300-for-each-ref.sh @@ -945,9 +945,9 @@ test_failing_trailer_option () { test_expect_success "$title" ' # error message cannot be checked under i18n test_must_fail git for-each-ref --format="%($option)" refs/heads/main 2>actual && - test_i18ncmp expect actual && + test_cmp expect actual && test_must_fail git for-each-ref --format="%(contents:$option)" refs/heads/main 2>actual && - test_i18ncmp expect actual + test_cmp expect actual ' } @@ -966,7 +966,7 @@ test_expect_success 'if arguments, %(contents:trailers) shows error if colon is fatal: unrecognized %(contents) argument: trailersonly EOF test_must_fail git for-each-ref --format="%(contents:trailersonly)" 2>actual && - test_i18ncmp expect actual + test_cmp expect actual ' test_expect_success 'basic atom: head contents:trailers' ' |