X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=t%2Ft6006-rev-list-format.sh;h=cccacd4add48524abd4a3021f8048a6c45c245ea;hb=2acf3658a31249d1a09573e2b6870871b5323121;hp=9b77073df880d4597742e20d738273244d2e4a10;hpb=8d676d85f772ce3a100b6f0dddd1c34a7e4313cf;p=git.git diff --git a/t/t6006-rev-list-format.sh b/t/t6006-rev-list-format.sh index 9b77073df..cccacd4ad 100755 --- a/t/t6006-rev-list-format.sh +++ b/t/t6006-rev-list-format.sh @@ -200,6 +200,16 @@ test_expect_success 'add LF before non-empty (2)' ' grep "^$" actual ' +test_expect_success 'add SP before non-empty (1)' ' + git show -s --pretty=format:"%s% bThanks" HEAD^^ >actual && + test $(wc -w actual && + test $(wc -w expect2 && echo LONG LONG LONG >expect3 &&