t3200,t7201: replace '!' with test_must_fail
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Brandon Casey committed
Jul 22, 2008 at 16:16 UTC
03b9dfb18ba451a2221601b740004befa7614c5b
2 files changed
+2
-2
t/t3200-branch.sh
+1
-1
@@ -200,7 +200,7 @@ test_expect_success \
200
201
test_expect_success \
202
'branch from non-branch HEAD w/--track causes failure' \
203
- '!(git branch --track my10 HEAD^)'
203
+ 'test_must_fail git branch --track my10 HEAD^'
204
205
# Keep this test last, as it changes the current branch
206
cat >expect <<EOF
t/t7201-co.sh
+1
-1
@@ -335,6 +335,6 @@ test_expect_success \
335
git checkout -b delete-me master &&
336
rm .git/refs/heads/delete-me &&
337
test refs/heads/delete-me = "$(git symbolic-ref HEAD)" &&
338
- !(git checkout --track -b track)'
338
+ test_must_fail git checkout --track -b track'
339
340
test_done