X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/262d31dcab5f51e7da41086c94f0eecaee060a74..5f594e90e9a0867e1b87ffb8b0a077152246b56c:/t/t1000-branch-create.sh diff --git a/t/t1000-branch-create.sh b/t/t1000-branch-create.sh index e920e93..848686c 100755 --- a/t/t1000-branch-create.sh +++ b/t/t1000-branch-create.sh @@ -18,9 +18,9 @@ test_expect_success \ mkdir -p .git/patches && touch .git/patches/foo ' -test_expect_failure \ +test_expect_success \ 'Try to create an stgit branch with a spurious patches/ entry' ' - stg branch -c foo + ! stg branch -c foo ' test_expect_success \ @@ -35,9 +35,9 @@ test_expect_success \ cp .git/refs/heads/master .git/refs/heads/foo ' -test_expect_failure \ +test_expect_success \ 'Try to create an stgit branch with an existing git branch by that name' ' - stg branch -c foo + ! stg branch -c foo ' test_expect_success \