aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Michal Sojka <sojkam1@fel.cvut.cz>2010-11-14 22:54:29 +0100
committerGravatar Carl Worth <cworth@cworth.org>2010-11-16 11:28:06 -0800
commitc8d51e2912bf732b334eef4847d92768c7c69eb8 (patch)
tree6ded72df53d78699127a2535042f25238f5220ca /test
parentac9dbb47de734afb0ddd4d0b2eb8f5027b1a7f60 (diff)
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.
Diffstat (limited to 'test')
-rw-r--r--test/test-lib.sh2
1 files changed, 1 insertions, 1 deletions
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
}