diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2018-07-02 02:24:00 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-07-16 23:38:47 +0200 |
commit | f957f03b60163ffdc346cce44a67b0347a51190b (patch) | |
tree | 75c88bf6b4a724a1c43b49d891e821e9d7d1f1e9 /t/t4025-hunk-header.sh | |
parent | t3030: fix broken &&-chains (diff) | |
download | git-f957f03b60163ffdc346cce44a67b0347a51190b.tar.xz git-f957f03b60163ffdc346cce44a67b0347a51190b.zip |
t4000-t4999: fix broken &&-chains
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4025-hunk-header.sh')
-rwxr-xr-x | t/t4025-hunk-header.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/t/t4025-hunk-header.sh b/t/t4025-hunk-header.sh index 7a3dbc1ea2..fa44e78869 100755 --- a/t/t4025-hunk-header.sh +++ b/t/t4025-hunk-header.sh @@ -12,12 +12,12 @@ NS="$N$N$N$N$N$N$N$N$N$N$N$N$N" test_expect_success setup ' ( - echo "A $NS" + echo "A $NS" && for c in B C D E F G H I J K do echo " $c" - done - echo "L $NS" + done && + echo "L $NS" && for c in M N O P Q R S T U V do echo " $c" @@ -34,7 +34,7 @@ test_expect_success 'hunk header truncation with an overly long line' ' git diff | sed -n -e "s/^.*@@//p" >actual && ( - echo " A $N$N$N$N$N$N$N$N$N2" + echo " A $N$N$N$N$N$N$N$N$N2" && echo " L $N$N$N$N$N$N$N$N$N1" ) >expected && test_cmp actual expected |