Skip to content

Commit 2c2d0f9

Browse files
sunshinecogitster
authored andcommitted
t2000-t2999: fix broken &&-chains
Signed-off-by: Eric Sunshine <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f2deabf commit 2c2d0f9

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

t/t2103-update-index-ignore-missing.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ test_expect_success basics '
3232
test_create_repo xyzzy &&
3333
cd xyzzy &&
3434
>file &&
35-
git add file
35+
git add file &&
3636
git commit -m "sub initial"
3737
) &&
3838
git add xyzzy &&

t/t2202-add-addremove.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ test_description='git add --all'
66

77
test_expect_success setup '
88
(
9-
echo .gitignore
9+
echo .gitignore &&
1010
echo will-remove
1111
) >expect &&
1212
(
13-
echo actual
14-
echo expect
13+
echo actual &&
14+
echo expect &&
1515
echo ignored
1616
) >.gitignore &&
1717
git --literal-pathspecs add --all &&
@@ -25,10 +25,10 @@ test_expect_success setup '
2525

2626
test_expect_success 'git add --all' '
2727
(
28-
echo .gitignore
29-
echo not-ignored
30-
echo "M .gitignore"
31-
echo "A not-ignored"
28+
echo .gitignore &&
29+
echo not-ignored &&
30+
echo "M .gitignore" &&
31+
echo "A not-ignored" &&
3232
echo "D will-remove"
3333
) >expect &&
3434
>ignored &&

0 commit comments

Comments
 (0)