From: Shubham Verma Date: Thu, 11 Feb 2021 19:47:03 +0000 (+0530) Subject: t7001: use here-docs instead of echo X-Git-Tag: v2.31.0-rc1~6^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=39252c833e0402c011dfb940a87db9d0a64ddd0c;p=thirdparty%2Fgit.git t7001: use here-docs instead of echo Change from old style to current style by taking advantage of here-docs instead of echo commands. Signed-off-by: Shubham Verma Reviewed-by: Eric Sunshine Signed-off-by: Junio C Hamano --- diff --git a/t/t7001-mv.sh b/t/t7001-mv.sh index f55d18ed9c..c8c22c09e5 100755 --- a/t/t7001-mv.sh +++ b/t/t7001-mv.sh @@ -228,7 +228,10 @@ test_expect_success 'git mv to move multiple sources into a directory' ' git add dir/?.txt && git mv dir/a.txt dir/b.txt other && git ls-files >actual && - { echo other/a.txt; echo other/b.txt; } >expect && + cat >expect <<-\EOF && + other/a.txt + other/b.txt + EOF test_cmp expect actual '