X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/blobdiff_plain/b85450f9de77183fd9fc7900bb0d290adaaaf9fd..03a1b83c50c7d056e21a0217b9086593b3a5a717:/t/t1005-branch-delete.sh diff --git a/t/t1005-branch-delete.sh b/t/t1005-branch-delete.sh index 00fc9eb..e061baf 100755 --- a/t/t1005-branch-delete.sh +++ b/t/t1005-branch-delete.sh @@ -19,6 +19,10 @@ test_expect_success 'Create a non-StGIT branch and delete it' ' stg branch --delete bar ' +test_expect_success 'Delete a nonexistent branch' ' + stg branch --delete bar + ' + test_expect_success 'Make sure the branch ref was deleted' ' [ -z "$(git show-ref | grep master | tee /dev/stderr)" ] '