From: Rafael Garcia-Suarez Date: Fri, 25 Jan 2002 23:17:33 +0000 (+0100) Subject: new test in op/universal.t X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=178d71da13d12a268fc143e0973bd76c77bbd99c;p=p5sagit%2Fp5-mst-13.2.git new test in op/universal.t Message-ID: <20020125231733.A11733@rafael> p4raw-id: //depot/perl@14423 --- diff --git a/t/op/universal.t b/t/op/universal.t index 2e31d78..fc53c39 100755 --- a/t/op/universal.t +++ b/t/op/universal.t @@ -9,7 +9,7 @@ BEGIN { $| = 1; } -print "1..93\n"; +print "1..94\n"; $a = {}; bless $a, "Bob"; @@ -59,6 +59,8 @@ $a = new Alice; test $a->isa("Alice"); test $a->isa("main::Alice"); # check that alternate class names work +test(("main::Alice"->new)->isa("Alice")); + test $a->isa("Bob"); test $a->isa("main::Bob");