X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Findirect.git;a=blobdiff_plain;f=t%2F20-bad.t;fp=t%2F20-bad.t;h=ce17983eaaf1c7bc71818828a47b9220c19c2c5d;hp=05efb509b5698f88cd434b0a6b28e5437b8f6d0d;hb=a6ff113a643fb1f626edbdc5c1d7ed0d2ce73c95;hpb=8e33a0159329bb82e048058ea048ab005ea322fe 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)