Skip to content

Commit f7f9a83

Browse files
rybakgitster
authored andcommitted
t1300: drop duplicate test
There are two almost identical tests called 'git config ignores pairs with zero count' in file t1300-config.sh. Drop the first of these and keep the one that contains more assertions. Signed-off-by: Andrei Rybak <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 73876f4 commit f7f9a83

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

t/t1300-config.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1458,13 +1458,6 @@ test_expect_success 'git config ignores pairs without count' '
14581458
test_must_be_empty error
14591459
'
14601460

1461-
test_expect_success 'git config ignores pairs with zero count' '
1462-
test_must_fail env \
1463-
GIT_CONFIG_COUNT=0 \
1464-
GIT_CONFIG_KEY_0="pair.one" GIT_CONFIG_VALUE_0="value" \
1465-
git config pair.one
1466-
'
1467-
14681461
test_expect_success 'git config ignores pairs exceeding count' '
14691462
GIT_CONFIG_COUNT=1 \
14701463
GIT_CONFIG_KEY_0="pair.one" GIT_CONFIG_VALUE_0="value" \

0 commit comments

Comments
 (0)