diff options
Diffstat (limited to 't/t4006-diff-mode.sh')
-rwxr-xr-x | t/t4006-diff-mode.sh | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/t/t4006-diff-mode.sh b/t/t4006-diff-mode.sh index 392dfeff57..693bfc4a52 100755 --- a/t/t4006-diff-mode.sh +++ b/t/t4006-diff-mode.sh @@ -46,18 +46,12 @@ test_expect_success '--shortstat output after text chmod' ' test_expect_success '--stat output after binary chmod' ' test_chmod +x binbin && - cat >expect <<-EOF && - binbin | Bin 1024 -> 1024 bytes - 1 file changed, 0 insertions(+), 0 deletions(-) - EOF + echo " 0 files changed" >expect && git diff HEAD --stat >actual && test_cmp expect actual ' test_expect_success '--shortstat output after binary chmod' ' - cat >expect <<-EOF && - 1 file changed, 0 insertions(+), 0 deletions(-) - EOF git diff HEAD --shortstat >actual && test_cmp expect actual ' |