X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fsimple.t;h=cb788abcda48b3c99c80e9f1f49f61298cb6717b;hb=refs%2Ftags%2Fv1.000004;hp=dd0d059455cd4519e99bb2e17b83abef1d45129a;hpb=ac4c210b31335cc8ded4649a31c03031cf78eff5;p=scpubgit%2FHTML-String.git diff --git a/t/simple.t b/t/simple.t index dd0d059..cb788ab 100644 --- a/t/simple.t +++ b/t/simple.t @@ -58,4 +58,9 @@ ok(HTML::String::Value->isa('HTML::String::Value'), 'isa on class ok'); is($@, '', '$@ not set by check'); +is do { + use HTML::String::Overload; + '' . '0' +}, '0', 'concatenating strings which are false in boolean context'; + done_testing;