t7600: use test_write_lines()
authorDenton Liu <liu.denton@gmail.com>
Sat, 21 Mar 2020 09:21:21 +0000 (05:21 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 Mar 2020 21:48:15 +0000 (14:48 -0700)
commitfd6852cab219149e800d352f3939631377b41575
treec0a45b049fe5a985db58ab271d1fc99cf70cca33
parent805d9eaf5eab0edc3567d9e19e74a3f9168e764a
t7600: use test_write_lines()

In t7600, we were rewriting `printf '%s\n' ...` to create files from
parameters, one per line. However, we already have a function that wraps
this for us: test_write_lines(). Rewrite these instances to use that
function instead of open coding it.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7600-merge.sh