Skip to content

Commit

Permalink
t9300: replace '!' with test_must_fail
Browse files Browse the repository at this point in the history
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Miklos Vajna authored and Junio C Hamano committed Aug 17, 2008
1 parent a0d74d1 commit 20a55f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/t9300-fast-import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@ DATA
INPUT_END

test_expect_success 'P: fail on inline gitlink' '
! git-fast-import <input'
test_must_fail git-fast-import <input'

test_tick
cat >input <<INPUT_END
Expand All @@ -1068,6 +1068,6 @@ M 160000 :1 sub
INPUT_END

test_expect_success 'P: fail on blob mark in gitlink' '
! git-fast-import <input'
test_must_fail git-fast-import <input'

test_done

0 comments on commit 20a55f4

Please sign in to comment.