aboutsummaryrefslogtreecommitdiff
path: root/t/t7011-skip-worktree-reading.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t7011-skip-worktree-reading.sh')
-rwxr-xr-xt/t7011-skip-worktree-reading.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t7011-skip-worktree-reading.sh b/t/t7011-skip-worktree-reading.sh
index e996928de..bb4066f76 100755
--- a/t/t7011-skip-worktree-reading.sh
+++ b/t/t7011-skip-worktree-reading.sh
@@ -148,13 +148,13 @@ test_expect_success 'git-rm succeeds on skip-worktree absent entries' '
git rm 1
'
-test_expect_failure 'commit on skip-worktree absent entries' '
+test_expect_success 'commit on skip-worktree absent entries' '
git reset &&
setup_absent &&
test_must_fail git commit -m null 1
'
-test_expect_failure 'commit on skip-worktree dirty entries' '
+test_expect_success 'commit on skip-worktree dirty entries' '
git reset &&
setup_dirty &&
test_must_fail git commit -m null 1