t5000: modernise archive and :(glob) test

To match present day coding guiding codelines let's:

- use <<-EOF, so we can indent all lines to the
  the same level for this test

- use <<\EOF to notify the reader that no interpolation
  is expected in the body

Signed-off-by: Kostya Farber <kostya.farber@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Kostya Farber 2023-02-04 20:41:24 +00:00 committed by Junio C Hamano
parent 844ede312b
commit d912a603ed

View file

@ -402,11 +402,11 @@ test_expect_success GZIP 'extract tgz file (external gzip)' '
test_expect_success 'archive and :(glob)' '
git archive -v HEAD -- ":(glob)**/sh" >/dev/null 2>actual &&
cat >expect <<EOF &&
a/
a/bin/
a/bin/sh
EOF
cat >expect <<-\EOF &&
a/
a/bin/
a/bin/sh
EOF
test_cmp expect actual
'