Skip to content

Commit 1cdc62f

Browse files
peffgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 8279ed0 commit 1cdc62f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

t/t0205-gettext-poison.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ test_description='Gettext Shell poison'
77

88
. ./lib-gettext.sh
99

10-
test_expect_success GETTEXT_POISON "sanity: \$GIT_INTERNAL_GETTEXT_SH_SCHEME is set (to $GIT_INTERNAL_GETTEXT_SH_SCHEME)" '
11-
test -n "$GIT_INTERNAL_GETTEXT_SH_SCHEME"
12-
'
13-
1410
test_expect_success GETTEXT_POISON 'sanity: $GIT_INTERNAL_GETTEXT_SH_SCHEME" is poison' '
1511
test "$GIT_INTERNAL_GETTEXT_SH_SCHEME" = "poison"
1612
'

0 commit comments

Comments
 (0)