From: Matthieu Moy Date: Tue, 14 Jun 2022 21:34:27 GMT Subject: Re: [PATCH] t3701: update tests fixed with builtin add -p Message-ID: <739656227.13381886.1655242467295.JavaMail.zimbra@inria.fr> In-Reply-To: <0aff4d49e5934d11870a3c6bfecf1af0@SAMBXP02.univ-lyon1.fr> "Todd Zullinger" wrote: > > -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/