projects
/
p5sagit/Log-Contextual.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
1c399f4
)
add test for multiline logging
Arthur Axel 'fREW' Schmidt [Sat, 20 Feb 2010 23:12:28 +0000 (17:12 -0600)]
t/simplelogger.t
patch
|
blob
|
blame
|
history
diff --git
a/t/simplelogger.t
b/t/simplelogger.t
index
05e6f53
..
2cfcaaa
100644
(file)
--- a/
t/simplelogger.t
+++ b/
t/simplelogger.t
@@
-48,3
+48,6
@@
is($response, "[error] error\n", 'error renders correctly');
log_fatal { 'fatal' };
is($response, "[fatal] fatal\n", 'fatal renders correctly');
+log_debug { 'line 1', 'line 2' };
+is($response, "[debug] line 1\nline 2\n", 'multiline log renders correctly');
+