Skip to content

Commit

Permalink
t3510 (cherry-pick-sequence): add missing '&&'
Browse files Browse the repository at this point in the history
Breaks in a test assertion's && chain can potentially hide failures
from earlier commands in the chain.  Fix an instance of this in the
setup.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Ramkumar Ramachandra authored and Junio C Hamano committed Jun 4, 2012
1 parent d9f5ef7 commit 070bad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t3510-cherry-pick-sequence.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ test_cmp_rev () {
}

test_expect_success setup '
git config advice.detachedhead false
git config advice.detachedhead false &&
echo unrelated >unrelated &&
git add unrelated &&
test_commit initial foo a &&
Expand Down

0 comments on commit 070bad6

Please sign in to comment.