X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Findirect.git;a=blobdiff_plain;f=t%2F21-bad.t;fp=t%2F21-bad.t;h=11da77d29c2fabb2f6dfa1300e1bebf8597b7de7;hp=63516f562f1622f407322e62aba044ac3592b0a4;hb=feceaa694dff65ca67ac26a13b67e2c0f8bbb795;hpb=3073451bb3c0e963ca447441f101f00c29f50f03 diff --git a/t/21-bad.t b/t/21-bad.t index 63516f5..11da77d 100644 --- a/t/21-bad.t +++ b/t/21-bad.t @@ -11,8 +11,8 @@ use warnings; my ($tests, $reports); BEGIN { - $tests = 60; - $reports = 68; + $tests = 61; + $reports = 69; } use Test::More tests => 3 * (4 * $tests + $reports) + 2; @@ -129,6 +129,10 @@ $obj = new Hlagh; ---- [ 'new', 'Hlagh' ] #### +$obj = new Hlagh if 0; +---- +[ 'new', 'Hlagh' ] +#### $obj = new Hlagh(); ---- [ 'new', 'Hlagh' ]