t1512: use test_line_count
commita5d04a3ef92887648c8dee49ac75370177dfcf78
authorRené Scharfe <l.s.r@web.de>
Tue, 26 Nov 2019 18:21:41 +0000 (26 19:21 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Nov 2019 02:31:40 +0000 (27 11:31 +0900)
tree532fb60789773269f0b0cbfa823a242be5cf265d
parentd9f6f3b6195a0ca35642561e530798ad1469bd41
t1512: use test_line_count

Use test_line_count to check if the number of lines matches
expectations, for improved consistency and nicer debug output.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1512-rev-parse-disambiguation.sh