t3505: fix abuse of test_expect_code
authorJunio C Hamano <gitster@pobox.com>
Sun, 21 Jun 2009 09:01:28 +0000 (02:01 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 21 Jun 2009 09:01:28 +0000 (02:01 -0700)
The test wanted to make sure that cherry-pick exits with status 1,
but with the way it was placed after "git checkout master &&" meant
that it could have misjudged success if checkout barfed with the
same failure status.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found