diff options
| author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2020-09-21 12:39:48 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-09-21 12:37:38 -0700 |
| commit | 090850e1b03fb16fcfcd929098c6834db389faa5 (patch) | |
| tree | 86a375546711ae16412eeb799841230142efd1e9 /t/t4013/diff.diff_initial..side | |
| parent | remote-mediawiki tests: use a 10 character password (diff) | |
| download | git-090850e1b03fb16fcfcd929098c6834db389faa5.tar.gz git-090850e1b03fb16fcfcd929098c6834db389faa5.zip | |
remote-mediawiki tests: use test_cmp in tests
Change code that used an ad-hoc "diff -b" invocation to use our
test_cmp helper instead. I'm also changing the order of arguments to
be the standard "test_cmp <expected> <actual>".
Using test_cmp has different semantics since the "-b" option to diff
causes it to ignore whitespace, but in these cases the use of "-b" was
just meaningless boilerplate. The desired semantics here are to
compare "git log" lines with know-good data, so we don't want to
ignore whitespace.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions
