Skip to content

Commit d0423dd

Browse files
felipecgitster
authored andcommitted
t: branch: fix broken && chains
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 002ba03 commit d0423dd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

t/t3200-branch.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -425,14 +425,14 @@ test_expect_success '--set-upstream-to fails on a non-ref' '
425425
test_expect_success 'use --set-upstream-to modify HEAD' '
426426
test_config branch.master.remote foo &&
427427
test_config branch.master.merge foo &&
428-
git branch my12
428+
git branch my12 &&
429429
git branch --set-upstream-to my12 &&
430430
test "$(git config branch.master.remote)" = "." &&
431431
test "$(git config branch.master.merge)" = "refs/heads/my12"
432432
'
433433

434434
test_expect_success 'use --set-upstream-to modify a particular branch' '
435-
git branch my13
435+
git branch my13 &&
436436
git branch --set-upstream-to master my13 &&
437437
test "$(git config branch.my13.remote)" = "." &&
438438
test "$(git config branch.my13.merge)" = "refs/heads/master"
@@ -443,7 +443,7 @@ test_expect_success '--unset-upstream should fail if given a non-existent branch
443443
'
444444

445445
test_expect_success 'test --unset-upstream on HEAD' '
446-
git branch my14
446+
git branch my14 &&
447447
test_config branch.master.remote foo &&
448448
test_config branch.master.merge foo &&
449449
git branch --set-upstream-to my14 &&
@@ -465,7 +465,7 @@ test_expect_success '--unset-upstream should fail on detached HEAD' '
465465
'
466466

467467
test_expect_success 'test --unset-upstream on a particular branch' '
468-
git branch my15
468+
git branch my15 &&
469469
git branch --set-upstream-to master my14 &&
470470
git branch --unset-upstream my14 &&
471471
test_must_fail git config branch.my14.remote &&

0 commit comments

Comments
 (0)