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 <rybak.a.v@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Andrei Rybak committed Apr 23, 2023 at 15:46 UTC f7f9a836e22b559a2f122c7951ca7d4af25258e7
1 file changed -7
t/t1300-config.sh
-7
@@ -1458,13 +1458,6 @@ test_expect_success 'git config ignores pairs without count' '
1458 test_must_be_empty error
1459 '
1460
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 -
1461 test_expect_success 'git config ignores pairs exceeding count' '
1462 GIT_CONFIG_COUNT=1 \
1463 GIT_CONFIG_KEY_0="pair.one" GIT_CONFIG_VALUE_0="value" \