Update of /cvsroot/module-build/Module-Build/t
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7463/t
Modified Files:
Tag: release-0_26_branch
runthrough.t
Log Message:
Fix version comparisons
Index: runthrough.t
===================================================================
RCS file: /cvsroot/module-build/Module-Build/t/runthrough.t,v
retrieving revision 1.45
retrieving revision 1.45.2.1
diff -C2 -d -r1.45 -r1.45.2.1
*** runthrough.t 1 Jun 2004 13:25:30 -0000 1.45
--- runthrough.t 21 Nov 2004 04:03:42 -0000 1.45.2.1
***************
*** 82,86 ****
my $fh = IO::File->new(File::Spec->catfile($goto, 'META.yml'));
my $contents = do {local $/; <$fh>};
! ok $contents, "/Module::Build version ". $build->VERSION ."/";
if ($build->check_installed_status('Archive::Tar', 0)
--- 82,87 ----
my $fh = IO::File->new(File::Spec->catfile($goto, 'META.yml'));
my $contents = do {local $/; <$fh>};
! $contents =~ /Module::Build version ([0-9_.]+)/m;
! ok $1, $build->VERSION, "Check version used to create META.yml";;
if ($build->check_installed_status('Archive::Tar', 0)
|