X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Findirect.git;a=blobdiff_plain;f=t%2F21-bad.t;h=11da77d29c2fabb2f6dfa1300e1bebf8597b7de7;hp=63516f562f1622f407322e62aba044ac3592b0a4;hb=5d8477b589d7ed4c4571111036e5b237ad13f6a9;hpb=0cc2d6ec622415ec5a39849d0837097c69c73eb5 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' ]