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

Re: [PATCH 2/2] add csharp userdiff tests

From
Johannes Sixt <j6t@kdbg.org>
Date
Apr 27, 2014, 20:12 UTC
Message-ID
<535D64BC.8060403@kdbg.org>
In-Reply-To
<CF7066B0-539D-4FAB-8845-8ED60DF1F17E@xamarin.com>
Am 27.04.2014 18:46, schrieb Marius Ungureanu:
> Is it okay though if I add a few tests to show what is broken?
> 
> I think this can’t be solved at a regex level.

It's OK to add tests that show breakages even if there is no immediate solution.

>> You can mark a userdiff test case that demonstrates a breakage by
>> including the work "broken" somewhere in the file. See
>> http://www.repo.or.cz/w/alt-git.git/commitdiff/9cc444f0570b196f1c51664ce2de1d8e1dee6046

You add tests including broken cases first, and then in the follow-up patch that fixes the broken ones, you also mark the tests as fixed, like I did in the follow-up patch of the above example: http://www.repo.or.cz/w/alt-git.git/commitdiff/8a2e8da367f7175465118510b474ad365161d6b1

-- Hannes
Previous: Marius UngureanuNext: Marius Ungureanu
Message 15 of 16 in “Updated C# userdiff patterns.”
  1. Updated C# userdiff patterns.Marius Ungureanu, Apr 25, 2014
  2. Johannes SixtApr 26, 2014
  3. Marius UngureanuApr 26, 2014
  4. Marius UngureanuApr 26, 2014
  5. Johannes SixtApr 26, 2014
  6. Marius UngureanuApr 26, 2014
  7. Johannes SixtApr 26, 2014
  8. Marius UngureanuApr 26, 2014
  9. Marius UngureanuApr 27, 2014
  10. Marius UngureanuApr 27, 2014
  11. Marius UngureanuApr 27, 2014
  12. Marius UngureanuApr 27, 2014
  13. Johannes SixtApr 27, 2014
  14. Marius UngureanuApr 27, 2014
  15. Johannes SixtApr 27, 2014
  16. Marius UngureanuApr 27, 2014

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.