convert: modernize tests
commited54970324ec0be0f11e1c2af100ea8b1c01a05a
authorLars Schneider <larsxschneider@gmail.com>
Sun, 16 Oct 2016 23:20:26 +0000 (16 16:20 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 17 Oct 2016 18:36:49 +0000 (17 11:36 -0700)
tree5c3b4d6c3b098aebb1bd7a9fed8b0d2599eb86b3
parent255f04d604dbb331933c2354b5d15ed6715e7d6a
convert: modernize tests

Use `test_config` to set the config, check that files are empty with
`test_must_be_empty`, compare files with `test_cmp`, and remove spaces
after ">" and "<".

Please note that the "rot13" filter configured in "setup" keeps using
`git config` instead of `test_config` because subsequent tests might
depend on it.

Reviewed-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0021-conversion.sh