Skip to content

Commit 3cb8a5f

Browse files
artagnongitster
authored andcommitted
t/t5528-push-default: remove redundant test_config lines
The line test_config push.default upstream appears unnecessarily in two tests, as the final test_push_failure sets push.default before pushing anyway. Signed-off-by: Ramkumar Ramachandra <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent fb7dfaa commit 3cb8a5f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

t/t5528-push-default.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ test_expect_success '"upstream" pushes to configured upstream' '
4848
test_expect_success '"upstream" does not push on unconfigured remote' '
4949
git checkout master &&
5050
test_unconfig branch.master.remote &&
51-
test_config push.default upstream &&
5251
test_commit three &&
5352
test_push_failure upstream
5453
'
@@ -57,7 +56,6 @@ test_expect_success '"upstream" does not push on unconfigured branch' '
5756
git checkout master &&
5857
test_config branch.master.remote parent1 &&
5958
test_unconfig branch.master.merge &&
60-
test_config push.default upstream
6159
test_commit four &&
6260
test_push_failure upstream
6361
'

0 commit comments

Comments
 (0)