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

Re: [PATCH] t0040: convert all possible tests to use `test-parse-options --expect`

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 17, 2016, 21:51 UTC
Message-ID
<xmqqzim2skzb.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<01020157c8505fc5-cb313aa8-0182-4e19-95fa-cb36c573ee4c-000000@eu-west-1.amazonses.com>
Pranit Bauva <pranit.bauva@gmail.com> writes:
Show 9 quoted lines
> Use "test-parse-options --expect" to rewrite the tests to avoid checking
> the whole variable dump by just testing what is required. This commit is
> based on 8ca65aeb (t0040: convert a few tests to use test-parse-options;
> Junio C Hamano; May 6, 2016).
>
> Signed-off-by: Pranit Bauva <pranit.bauva@gmail.com>
> ---
>  t/t0040-parse-options.sh | 183 ++++-------------------------------------------
>  1 file changed, 13 insertions(+), 170 deletions(-)
Whoa.  Quite a lot of repetitions removed.
Previous: Pranit Bauva
Message 2 of 2 in “t0040: convert all possible tests to use `test-parse-options --expect`”
  1. t0040: convert all possible tests to use `test-parse-options --expect`Pranit Bauva, Oct 15, 2016
  2. Junio C HamanoOct 17, 2016

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.