Convert diagnostics.t to test.pl
authorFather Chrysostomos <sprout@cpan.org>
Mon, 26 Dec 2011 21:58:48 +0000 (13:58 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 26 Dec 2011 21:58:48 +0000 (13:58 -0800)
so that runperl is available

lib/diagnostics.t

index d0d4364..df111a8 100644 (file)
@@ -3,10 +3,10 @@
 BEGIN {
     chdir '..' if -d '../pod' && -d '../t';
     @INC = 'lib';
+    require './t/test.pl';
+    plan(11);
 }
 
-use Test::More tests => 11;
-
 BEGIN {
     my $w;
     $SIG{__WARN__} = sub { $w = shift };