Add a branch --cleanup option
[stgit] / t / t1203-push-conflict.sh
index 57119ab..b759298 100755 (executable)
@@ -38,7 +38,7 @@ test_expect_success \
 test_expect_success \
        'Push the first patch with conflict' \
        '
-       ! stg push foo
+       conflict stg push foo
        '
 
 test_expect_success \
@@ -56,14 +56,14 @@ test_expect_success \
 test_expect_success \
        'Check that pop will fail while there are unmerged conflicts' \
        '
-       ! stg pop
+       command_error stg pop
        '
 
 test_expect_success \
        'Resolve the conflict' \
        '
        echo resolved > test &&
-       git add test &&
+       stg resolved test &&
        stg refresh
        '