Skip to content

Commit d912a60

Browse files
kostyafarbergitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 844ede3 commit d912a60

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

t/t5000-tar-tree.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -402,11 +402,11 @@ test_expect_success GZIP 'extract tgz file (external gzip)' '
402402

403403
test_expect_success 'archive and :(glob)' '
404404
git archive -v HEAD -- ":(glob)**/sh" >/dev/null 2>actual &&
405-
cat >expect <<EOF &&
406-
a/
407-
a/bin/
408-
a/bin/sh
409-
EOF
405+
cat >expect <<-\EOF &&
406+
a/
407+
a/bin/
408+
a/bin/sh
409+
EOF
410410
test_cmp expect actual
411411
'
412412

0 commit comments

Comments
 (0)