list-objects.c: don't add an unparsed NULL as a pending tree
[gitweb.git] / t / test-lib.sh
index 11c027571b44c429b4f6fdca88bff9c3360c7545..689ac2f4b4eb45ee5f45f74e4c5d13c3e7c17e84 100644 (file)
@@ -112,8 +112,9 @@ if test -n "$color"; then
                        *) test -n "$quiet" && return;;
                esac
                shift
-               echo "* $*"
+               printf "* %s" "$*"
                tput sgr0
+               echo
                )
        }
 else