Skip to content

Commit b840312

Browse files
JDeepDgitster
authored andcommitted
t/t0015-hash.sh: remove unnecessary '\' at line end
The `|` at line end already imples that the statement is not over. So a `\` after that is redundant. Signed-off-by: Jaydeep P Das <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4c53a8c commit b840312

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

t/t0015-hash.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ test_expect_success 'test basic SHA-1 hash values' '
1515
grep c12252ceda8be8994d5fa0290a47231c1d16aae3 actual &&
1616
printf "abcdefghijklmnopqrstuvwxyz" | test-tool sha1 >actual &&
1717
grep 32d10c7b8cf96570ca04ce37f2a19d84240d3a89 actual &&
18-
perl -e "$| = 1; print q{aaaaaaaaaa} for 1..100000;" | \
18+
perl -e "$| = 1; print q{aaaaaaaaaa} for 1..100000;" |
1919
test-tool sha1 >actual &&
2020
grep 34aa973cd4c4daa4f61eeb2bdbad27316534016f actual &&
2121
printf "blob 0\0" | test-tool sha1 >actual &&
@@ -38,10 +38,10 @@ test_expect_success 'test basic SHA-256 hash values' '
3838
printf "abcdefghijklmnopqrstuvwxyz" | test-tool sha256 >actual &&
3939
grep 71c480df93d6ae2f1efad1447c66c9525e316218cf51fc8d9ed832f2daf18b73 actual &&
4040
# Try to exercise the chunking code by turning autoflush on.
41-
perl -e "$| = 1; print q{aaaaaaaaaa} for 1..100000;" | \
41+
perl -e "$| = 1; print q{aaaaaaaaaa} for 1..100000;" |
4242
test-tool sha256 >actual &&
4343
grep cdc76e5c9914fb9281a1c7e284d73e67f1809a48a497200e046d39ccc7112cd0 actual &&
44-
perl -e "$| = 1; print q{abcdefghijklmnopqrstuvwxyz} for 1..100000;" | \
44+
perl -e "$| = 1; print q{abcdefghijklmnopqrstuvwxyz} for 1..100000;" |
4545
test-tool sha256 >actual &&
4646
grep e406ba321ca712ad35a698bf0af8d61fc4dc40eca6bdcea4697962724ccbde35 actual &&
4747
printf "blob 0\0" | test-tool sha256 >actual &&

0 commit comments

Comments
 (0)