"Todd Zullinger" [off-list ref] wrote:
quoted hunk
-test_expect_failure 'split hunk "add -p (no, yes, edit)"' '
+test_expect_success 'split hunk "add -p (no, yes, edit)"' '
test_write_lines 5 10 20 21 30 31 40 50 60 >test &&
git reset &&
# test sequence is s(plit), n(o), y(es), e(dit)
@@ -562,7 +562,7 @@ test_expect_success 'split hunk with incomplete line at end'
'
test_must_fail git grep --cached before
'
-test_expect_failure 'edit, adding lines to the first hunk' '
+test_expect_success 'edit, adding lines to the first hunk' '
The magic of open-source: find a bug, write a test, try to fix the bug, give up, and wait for someone else to do it :-).
Thanks!
--
Matthieu Moy
https://matthieu-moy.fr/