X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/08a1d356dc02c02f99a6cc6064a5e425bc0b23c6..0e84c57c4a9d3a198caa4ae2da2a6670e57ad917:/t/t3103-undo-hard.sh diff --git a/t/t3103-undo-hard.sh b/t/t3103-undo-hard.sh index 2d0f382..b94543e 100755 --- a/t/t3103-undo-hard.sh +++ b/t/t3103-undo-hard.sh @@ -13,7 +13,7 @@ EOF test_expect_success 'Initialize StGit stack with three patches' ' stg init && echo 000 >> a && - git add a && + stg add a && git commit -m a && echo 111 >> a && git commit -a -m p1 && @@ -46,11 +46,11 @@ test_expect_success 'Try to undo without --hard' ' cat > expected.txt < actual.txt && test_cmp expected.txt actual.txt && - test "$(echo $(stg series))" = "> p1 - p2 - p3" && + test "$(echo $(stg series))" = "+ p1 + p2 > p3" && test "$(stg id)" = "$(stg id $(stg top))" '