git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] t3701: update tests fixed with builtin add -p

From
Matthieu Moy <matthieu.moy@univ-lyon1.fr>
Date
Jun 14, 2022, 21:34 UTC
Message-ID
<739656227.13381886.1655242467295.JavaMail.zimbra@inria.fr>
In-Reply-To
<0aff4d49e5934d11870a3c6bfecf1af0@SAMBXP02.univ-lyon1.fr>
"Todd Zullinger" <tmz@pobox.com> wrote:
Show 13 quoted lines
>
> -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/
Previous: Junio C Hamano
Message 6 of 6 in “[ANNOUNCE] Git v2.37.0-rc0”
  1. Junio C HamanoJun 14, 2022
  2. Derrick StoleeJun 14, 2022
  3. t3701: update tests fixed with builtin add -pTodd Zullinger, Jun 14, 2022
  4. Matthew John CheethamJun 16, 2022
  5. Junio C HamanoJun 16, 2022
  6. Matthieu MoyJun 14, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.