t5520: use test_line_count where possible
authorDenton Liu <redacted>
Tue, 12 Nov 2019 23:08:00 +0000 (15:08 -0800)
committerJunio C Hamano <redacted>
Thu, 21 Nov 2019 00:41:51 +0000 (09:41 +0900)
commit3037d3db90c994cb3e5913a54f83acdefc219174
treec1957eb8823771bf7e5d4c20a6ba66c01dbe41a3
parent93a9bf876ba518464b12a5871965dc11df0012e4
t5520: use test_line_count where possible

Instead of rolling our own functionality to test the number of lines a
command outputs, use test_line_count() which provides better debugging
information in the case of a failure.

Signed-off-by: Denton Liu <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t5520-pull.sh
git clone https://git.99rst.org/PROJECT