X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/9564af74822b276d435319fc271eda591e5125a6..d0329a7785d86495fd02ca595d9cb94fc67cdf4d:/t/t3000-dirty-merge.sh diff --git a/t/t3000-dirty-merge.sh b/t/t3000-dirty-merge.sh index d87bba1..419d86e 100755 --- a/t/t3000-dirty-merge.sh +++ b/t/t3000-dirty-merge.sh @@ -24,11 +24,11 @@ test_expect_success 'Pop one patch and update the other' ' test_expect_success 'Push with dirty worktree' ' echo 4 > a && - [ "$(echo $(stg applied))" = "p1" ] && - [ "$(echo $(stg unapplied))" = "p2" ] && - ! stg goto p2 && - [ "$(echo $(stg applied))" = "p1" ] && - [ "$(echo $(stg unapplied))" = "p2" ] && + [ "$(echo $(stg series --applied --noprefix))" = "p1" ] && + [ "$(echo $(stg series --unapplied --noprefix))" = "p2" ] && + conflict stg goto --keep p2 && + [ "$(echo $(stg series --applied --noprefix))" = "p1" ] && + [ "$(echo $(stg series --unapplied --noprefix))" = "p2" ] && [ "$(echo $(cat a))" = "4" ] '