projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac9dbb4
)
test: Add trailing newline to error messages
author
Michal Sojka
<sojkam1@fel.cvut.cz>
Sun, 14 Nov 2010 21:54:29 +0000
(22:54 +0100)
committer
Carl Worth
<cworth@cworth.org>
Tue, 16 Nov 2010 19:28:06 +0000
(11:28 -0800)
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
patch
|
blob
|
history
diff --git
a/test/test-lib.sh
b/test/test-lib.sh
index 68c9cf8a499e105f17112b3064c249665570c53a..dce9077d44fad37ef7d10be2ddc231500bedb3fc 100644
(file)
--- 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
}