stgit.el: Make "C-u r" raise error if run with prefix argument without a patch
[stgit] / t / t2400-diff.sh
index 6d9ed98..73f4539 100755 (executable)
@@ -4,16 +4,16 @@ test_description='Run "stg diff"'
 
 . ./test-lib.sh
 
-test_expect_failure 'Diff with no StGit data' '
+test_expect_success 'Diff with no StGit data' '
     stg diff
 '
 
 test_expect_success 'Make some local changes' '
     echo foo >> foo.txt &&
-    git add foo.txt
+    stg add foo.txt
 '
 
-test_expect_failure 'Diff with some local changes' '
+test_expect_success 'Diff with some local changes' '
     stg diff
 '