X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=tests%2Flib;h=c403dc72b0e29acf5f60f6584a283789c71de8cb;hb=915017a37d1da31b3835bc181f464cd4af09b513;hp=36237a7485ed008f136ff4afd1c03dd2f3f3a6e5;hpb=fbc24ade1654c35ac59f8c6f4ebaaba0e65930ee;p=dgit.git diff --git a/tests/lib b/tests/lib index 36237a74..c403dc72 100644 --- a/tests/lib +++ b/tests/lib @@ -364,7 +364,7 @@ t-cloned-fetched-good () { } t-output () { - printf "%s\n" "$1" >$tmp/t.want + printf "%s${1:+\n}" "$1" >$tmp/t.want shift "$@" >$tmp/t.got diff $tmp/t.want $tmp/t.got