summaryrefslogtreecommitdiff
path: root/t/t0205-gettext-poison.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2018-02-06 08:43:19 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-02-08 18:07:51 (GMT)
commit1cdc62f6f16e6dae4343824f08286015c8c4b9c2 (patch)
tree9ac561e585ada9a00585ff158c2a0a65c8d871f1 /t/t0205-gettext-poison.sh
parent8279ed033f703d4115bee620dccd32a9ec94d9aa (diff)
downloadgit-1cdc62f6f16e6dae4343824f08286015c8c4b9c2.zip
git-1cdc62f6f16e6dae4343824f08286015c8c4b9c2.tar.gz
git-1cdc62f6f16e6dae4343824f08286015c8c4b9c2.tar.bz2
t0205: drop redundant test
We check that a shell variable is non-empty, and then we check that it's equal to a particular value. Just checking the latter covers both cases. I suspect the original was trying to give better output when the test fails, but using "-x" covers that these days. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0205-gettext-poison.sh')
-rwxr-xr-xt/t0205-gettext-poison.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/t/t0205-gettext-poison.sh b/t/t0205-gettext-poison.sh
index 2361590..438e778 100755
--- a/t/t0205-gettext-poison.sh
+++ b/t/t0205-gettext-poison.sh
@@ -7,10 +7,6 @@ test_description='Gettext Shell poison'
. ./lib-gettext.sh
-test_expect_success GETTEXT_POISON "sanity: \$GIT_INTERNAL_GETTEXT_SH_SCHEME is set (to $GIT_INTERNAL_GETTEXT_SH_SCHEME)" '
- test -n "$GIT_INTERNAL_GETTEXT_SH_SCHEME"
-'
-
test_expect_success GETTEXT_POISON 'sanity: $GIT_INTERNAL_GETTEXT_SH_SCHEME" is poison' '
test "$GIT_INTERNAL_GETTEXT_SH_SCHEME" = "poison"
'