diff --git a/t/t5304-prune.sh b/t/t5304-prune.sh
--- a/t/t5304-prune.sh
+++ b/t/t5304-prune.sh
'
-test_expect_failure 'prune: do not prune heads listed as an argument' '
+test_expect_success 'prune: do not prune heads listed as an argument' '
: > file2 &&
git add file2 &&