X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/051090dd538aa6c025a22ae896e2af1713e1522f..a2f4fe7de51cb580ca587d155f01ad569edd36ae:/t/t1301-repair.sh diff --git a/t/t1301-repair.sh b/t/t1301-repair.sh index 5d9bdbd..33f8f6d 100755 --- a/t/t1301-repair.sh +++ b/t/t1301-repair.sh @@ -5,7 +5,7 @@ test_description='Test the repair command.' test_expect_success \ 'Repair in a non-initialized repository' \ - '! stg repair' + 'command_error stg repair' test_expect_success \ 'Initialize the StGIT repository' \ @@ -20,7 +20,7 @@ test_expect_success \ ' stg new foo -m foo && echo foo > foo.txt && - stg add foo.txt && + git add foo.txt && stg refresh '