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 <artagnon@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ramkumar Ramachandra committed
Jun 19, 2013 at 16:41 UTC
3cb8a5ff1756f11fe60b9c6ed3f9fe593e9c6d62
1 file changed
-2
t/t5528-push-default.sh
-2
@@ -48,7 +48,6 @@ test_expect_success '"upstream" pushes to configured upstream' '
48
test_expect_success '"upstream" does not push on unconfigured remote' '
49
git checkout master &&
50
test_unconfig branch.master.remote &&
51
- test_config push.default upstream &&
51
test_commit three &&
52
test_push_failure upstream
53
'
@@ -57,7 +56,6 @@ test_expect_success '"upstream" does not push on unconfigured branch' '
56
git checkout master &&
57
test_config branch.master.remote parent1 &&
58
test_unconfig branch.master.merge &&
60
- test_config push.default upstream
59
test_commit four &&
60
test_push_failure upstream
61
'