From: Arthur Axel 'fREW' Schmidt Date: Sat, 20 Feb 2010 23:12:28 +0000 (-0600) Subject: add test for multiline logging X-Git-Tag: v0.00100~12 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0d27af6e89457b4b3718b0f5bc10571fcb76cc30;p=p5sagit%2FLog-Contextual.git add test for multiline logging --- diff --git a/t/simplelogger.t b/t/simplelogger.t index 05e6f53..2cfcaaa 100644 --- 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'); +