diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-02-11 01:53:53 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-11 07:48:27 (GMT) |
commit | 1108cea7f8ee38a8507c1cc68d1fafe2eb31d623 (patch) | |
tree | d739cc6d7733e975f04482966302d19e5a480540 /t/t7500-commit-template-squash-signoff.sh | |
parent | b1e079807b3d3c3592c40cab8bc0379879b6fad5 (diff) | |
download | git-1108cea7f8ee38a8507c1cc68d1fafe2eb31d623.zip git-1108cea7f8ee38a8507c1cc68d1fafe2eb31d623.tar.gz git-1108cea7f8ee38a8507c1cc68d1fafe2eb31d623.tar.bz2 |
tests: remove most uses of test_i18ncmp
As a follow-up to d162b25f956 (tests: remove support for
GIT_TEST_GETTEXT_POISON, 2021-01-20) remove most uses of test_i18ncmp
via a simple s/test_i18ncmp/test_cmp/g search-replacement.
I'm leaving t6300-for-each-ref.sh out due to a conflict with in-flight
changes between "master" and "seen", as well as the prerequisite
itself due to other changes between "master" and "next/seen" which add
new test_i18ncmp uses.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7500-commit-template-squash-signoff.sh')
-rwxr-xr-x | t/t7500-commit-template-squash-signoff.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t7500-commit-template-squash-signoff.sh b/t/t7500-commit-template-squash-signoff.sh index 6d19ece..e41ac18 100755 --- a/t/t7500-commit-template-squash-signoff.sh +++ b/t/t7500-commit-template-squash-signoff.sh @@ -15,7 +15,7 @@ commit_msg_is () { printf "%s" "$(git log --pretty=format:%s%b -1)" >"$actual" && printf "%s" "$1" >"$expect" && - test_i18ncmp "$expect" "$actual" + test_cmp "$expect" "$actual" } # A sanity check to see if commit is working at all. @@ -356,7 +356,7 @@ test_expect_success 'new line found before status message in commit template' ' touch commit-template-check && git add commit-template-check && GIT_EDITOR="cat >editor-input" git commit --untracked-files=no --allow-empty-message && - test_i18ncmp expected-template editor-input + test_cmp expected-template editor-input ' test_expect_success 'setup empty commit with unstaged rename and copy' ' |