X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/f749e393e47687971777d79c043562a91e4f493d..f03004e2c26efcd6b172a915e8e0d2f9a7cb064b:/t/t1600-delete-one.sh diff --git a/t/t1600-delete-one.sh b/t/t1600-delete-one.sh index c3451d8..b526a55 100755 --- a/t/t1600-delete-one.sh +++ b/t/t1600-delete-one.sh @@ -20,7 +20,7 @@ test_expect_success \ 'Try to delete a non-existing patch' \ ' [ $(stg applied | wc -l) -eq 1 ] && - ! stg delete bar && + command_error stg delete bar && [ $(stg applied | wc -l) -eq 1 ] ' @@ -29,7 +29,7 @@ test_expect_success \ ' echo dirty >> foo.txt && [ $(stg applied | wc -l) -eq 1 ] && - ! stg delete foo && + command_error stg delete foo && [ $(stg applied | wc -l) -eq 1 ] && git reset --hard '