From c8d51e2912bf732b334eef4847d92768c7c69eb8 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Sun, 14 Nov 2010 22:54:29 +0100 Subject: [PATCH] test: Add trailing newline to error messages The newline was removed from say_color in commit 222926ab to allow printing test status in the beginning of the line. Error messages are never followed by other text so we add the newline to error function. --- test/test-lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-lib.sh b/test/test-lib.sh index 68c9cf8a..dce9077d 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -144,7 +144,7 @@ else fi error () { - say_color error "error: $*" + say_color error "error: $*\n" GIT_EXIT_OK=t exit 1 } -- 2.26.2