diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-01-20 19:27:59 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-01-21 15:50:03 -0800 |
commit | 73c01d25fe254208befe099a659916d2bff5bbb4 (patch) | |
tree | 275ac23802e809be7d41c3324e57dc47761f8401 /t/t5411 | |
parent | tests: remove support for GIT_TEST_GETTEXT_POISON (diff) | |
download | tgif-73c01d25fe254208befe099a659916d2bff5bbb4.tar.xz |
tests: remove uses of GIT_TEST_GETTEXT_POISON=false
As noted in previous commits we are removing the use of
GIT_TEST_GETTEXT_POISON=false. These tests all relied on the facility
being off, it always is off after an earlier change, but we hadn't
removed the redundant assignments to "false" in the tests.
I'm preserving the deletion of "error" lines in 38b9197a76a (t5411:
add basic test cases for proc-receive hook, 2020-08-27), it turns out
that's useful even without GIT_TEST_GETTEXT_POISON=true in
play. Update a comment added in that commit to note that.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5411')
-rw-r--r-- | t/t5411/common-functions.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/t/t5411/common-functions.sh b/t/t5411/common-functions.sh index 344d13f61a..13107fcdb6 100644 --- a/t/t5411/common-functions.sh +++ b/t/t5411/common-functions.sh @@ -36,9 +36,8 @@ create_commits_in () { # without having to worry about future changes of the commit ID and spaces # of the output. Single quotes are replaced with double quotes, because # it is boring to prepare unquoted single quotes in expect text. We also -# remove some locale error messages, which break test if we turn on -# `GIT_TEST_GETTEXT_POISON=true` in order to test unintentional translations -# on plumbing commands. +# remove some locale error messages. The emitted human-readable errors are +# redundant to the more machine-readable output the tests already assert. make_user_friendly_and_stable_output () { sed \ -e "s/ *\$//" \ |