This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Rewrite to correctly use test.pl
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:37:26 +0000 (22:37 +0000)
Subject: Re: Fix for the orange lion bug - aka empty sub bug
Message-ID: <20031030235103.GC27017@localhost.comcast.net>

p4raw-id: //depot/perl@21583

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 {}