X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/923309140a6f091df9ed7120d7c818586c980c86..a2f4fe7de51cb580ca587d155f01ad569edd36ae:/t/t3000-dirty-merge.sh diff --git a/t/t3000-dirty-merge.sh b/t/t3000-dirty-merge.sh index dd81c9e..4dd6da3 100755 --- a/t/t3000-dirty-merge.sh +++ b/t/t3000-dirty-merge.sh @@ -22,11 +22,11 @@ test_expect_success 'Pop one patch and update the other' ' stg refresh ' -test_expect_failure 'Push with dirty worktree' ' +test_expect_success 'Push with dirty worktree' ' echo 4 > a && [ "$(echo $(stg applied))" = "p1" ] && [ "$(echo $(stg unapplied))" = "p2" ] && - ! stg goto p2 && + conflict stg goto p2 && [ "$(echo $(stg applied))" = "p1" ] && [ "$(echo $(stg unapplied))" = "p2" ] && [ "$(echo $(cat a))" = "4" ]