X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/64354a2d7d5f11f2592f72b74b48d750cf00c6f7..e152aab36c48466d9a65baa26d477688a2536ffb:/t/t1400-patch-history.sh diff --git a/t/t1400-patch-history.sh b/t/t1400-patch-history.sh index cabd5e8..59dc134 100755 --- a/t/t1400-patch-history.sh +++ b/t/t1400-patch-history.sh @@ -69,6 +69,16 @@ test_expect_success \ ' test_expect_success \ + 'Check the "push(c)" log' \ + ' + echo bar > test && stg refresh && + stg pop && + echo foo > test && stg refresh && + ! stg push && + stg log | grep -q -e "^push(c) " + ' + +test_expect_success \ 'Check the push "undo" log' \ ' stg push --undo &&