This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Integrate:
authorMichael G. Schwern <schwern@pobox.com>
Thu, 30 Oct 2003 15:51:03 +0000 (07:51 -0800)
committerNicholas Clark <nick@ccl4.org>
Thu, 30 Oct 2003 22:54:30 +0000 (22:54 +0000)
[ 21583]
Rewrite to correctly use test.pl
Subject: Re: Fix for the orange lion bug - aka empty sub bug
Message-ID: <20031030235103.GC27017@localhost.comcast.net>
p4raw-link: @21583 on //depot/perl: f7218ed4fb64f81a57ca3333cb9e28f01f115558

p4raw-id: //depot/maint-5.8/perl@21585
p4raw-integrated: from //depot/perl@21584 'copy in' t/op/sub.t
(@21582..)

t/op/sub.t

index b76d34c..b6f90f4 100644 (file)
@@ -1,12 +1,12 @@
-#!./perl
+#!./perl -w
 
 BEGIN {
     chdir 't' if -d 't';
     @INC = '../lib';
-    require Config; import Config;
+    require './test.pl';
 }
 
-use Test::More tests => 4;
+plan( tests => 4 );
 
 sub empty_sub {}