Re: [PATCH 3/6] t1006 (cat-file): use test_cmp
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Dec 8, 2011, 13:33 UTC
- Message-ID
- <CALkWK0=NFxAqmOkObqjVmBQ-TQ=hZhWi=ZScMEGibvS2Pu+XqQ@mail.gmail.com>
- In-Reply-To
- <vpqiplrchvi.fsf@bauges.imag.fr>
Hi Matthieu,
Matthieu Moy wrote:
Show 12 quoted lines
> Ramkumar Ramachandra <artagnon@gmail.com> writes: > >> test_expect_success "--batch-check with multiple sha1s gives correct format" ' >> - test "$batch_check_output" = \ >> - "$(echo_without_newline "$batch_check_input" | git cat-file --batch-check)" >> + echo "$batch_check_output" >expect && >> + echo_without_newline "$batch_check_input" | git cat-file >> + --batch-check >actual && >> + test_cmp expect actual >> ' > > Whitespace damage?
Odd. Email client issue? Seems to be fine in the original message [1].
[1]: http://article.gmane.org/gmane.comp.version-control.git/186558
-- Ram