about summary refs log tree commit diff
path: root/third_party/git/t/t3904-stash-patch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/t3904-stash-patch.sh')
-rwxr-xr-xthird_party/git/t/t3904-stash-patch.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/git/t/t3904-stash-patch.sh b/third_party/git/t/t3904-stash-patch.sh
index 9546b6f8a4..accfe3845c 100755
--- a/third_party/git/t/t3904-stash-patch.sh
+++ b/third_party/git/t/t3904-stash-patch.sh
@@ -89,7 +89,7 @@ test_expect_success 'none of this moved HEAD' '
 	verify_saved_head
 '
 
-test_expect_failure 'stash -p with split hunk' '
+test_expect_success 'stash -p with split hunk' '
 	git reset --hard &&
 	cat >test <<-\EOF &&
 	aaa
@@ -106,8 +106,8 @@ test_expect_failure 'stash -p with split hunk' '
 	ccc
 	EOF
 	printf "%s\n" s n y q |
-	test_might_fail git stash -p 2>error &&
-	! test_must_be_empty error &&
+	git stash -p 2>error &&
+	test_must_be_empty error &&
 	grep "added line 1" test &&
 	! grep "added line 2" test
 '