X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F20-bad.t;h=ce17983eaaf1c7bc71818828a47b9220c19c2c5d;hb=c21777a35a9cee9151b6b2f6dcf5e16e17751c48;hp=05efb509b5698f88cd434b0a6b28e5437b8f6d0d;hpb=7ded1e91a0a0ddc3e709cda9573fe0e53a32e092;p=perl%2Fmodules%2Findirect.git diff --git a/t/20-bad.t b/t/20-bad.t index 05efb50..ce17983 100644 --- a/t/20-bad.t +++ b/t/20-bad.t @@ -3,9 +3,9 @@ use strict; use warnings; -use Test::More tests => 28 * 2; +use Test::More tests => 30 * 2; -my ($obj, $pkg, $cb, $x); +my ($obj, $x); { local $/ = "####\n"; @@ -95,3 +95,7 @@ $obj = HlaghHlagh Hlagh; # HlaghHlagh Hlagh $obj = new newnew; #### $obj = new newnew; # new newnew +#### +new Hlagh (meh $x) +#### +Hlagh->new(meh $x)