Update of /cvsroot/module-build/Module-Build/t
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25200/t
Modified Files:
ext.t
Log Message:
Rearrange init code for consistency.
Index: ext.t
===================================================================
RCS file: /cvsroot/module-build/Module-Build/t/ext.t,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- ext.t 23 Mar 2005 01:30:54 -0000 1.15
+++ ext.t 28 Jun 2005 05:31:03 -0000 1.16
@@ -1,15 +1,16 @@
+#!/usr/bin/perl -w
+use lib 't/lib';
use strict;
-use File::Spec;
-BEGIN {
- my $t_lib = File::Spec->catdir('t', 'lib');
- push @INC, $t_lib; # Let user's installed version override
-}
+use File::Spec ();
+my $common_pl = File::Spec->catfile( 't', 'common.pl' );
+require $common_pl;
+
+#########################
+
use Test::More;
-my $common_pl = File::Spec->catfile('t', 'common.pl');
-require $common_pl;
my @unix_splits =
(
@@ -62,6 +63,8 @@
plan tests => 10 + 2*@unix_splits + 2*@win_splits;
+#########################
+
use Module::Build;
ok(1);
|