From: Arthur Axel 'fREW' Schmidt Date: Sun, 21 Feb 2010 04:41:52 +0000 (-0600) Subject: test to ensure logS really does force scalar X-Git-Tag: v0.00100~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3424b376b098909bcf9439b71d685dc8b6c6bd3d;p=p5sagit%2FLog-Contextual.git test to ensure logS really does force scalar --- diff --git a/t/log.t b/t/log.t index 329576f..df3cd17 100644 --- a/t/log.t +++ b/t/log.t @@ -127,4 +127,5 @@ PASSTHROUGH: { is( $var_logger3->var, 'ffiSMBoC: foo', 'logS_fatal works with input'); is( $val, 'foo', 'logS_fatal passes data through correctly'); + ok(!eval "logS_error { 'frew' } 'bar', 'baz'; 1", 'logS_$level dies from too many args'); }