]> asedeno.scripts.mit.edu Git - git.git/blobdiff - t/test-lib.sh
test-lib: fix color reset in say_color()
[git.git] / t / test-lib.sh
index 11c027571b44c429b4f6fdca88bff9c3360c7545..35698361bac232412d51f2b64c45c7ab5a5041d2 100644 (file)
@@ -112,8 +112,9 @@ if test -n "$color"; then
                        *) test -n "$quiet" && return;;
                esac
                shift
-               echo "* $*"
+               printf "* $*"
                tput sgr0
+               echo
                )
        }
 else