From: Michal Sojka Date: Sun, 14 Nov 2010 21:54:29 +0000 (+0100) Subject: test: Add trailing newline to error messages X-Git-Tag: debian/0.6_254~247 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c8d51e2912bf732b334eef4847d92768c7c69eb8;p=notmuch.git 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. --- 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 }