Update of /cvsroot/module-build/Module-Build/t
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17414/t
Modified Files:
runthrough.t
Log Message:
Use a numeric comparison for versions
Index: runthrough.t
===================================================================
RCS file: /cvsroot/module-build/Module-Build/t/runthrough.t,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- runthrough.t 9 Jan 2006 03:58:01 -0000 1.64
+++ runthrough.t 16 Feb 2006 04:06:58 -0000 1.65
@@ -139,7 +139,7 @@
my $fh = IO::File->new(File::Spec->catfile($dist->dirname, 'META.yml'));
my $contents = do {local $/; <$fh>};
$contents =~ /Module::Build version ([0-9_.]+)/m;
- is $1, $mb->VERSION, "Check version used to create META.yml: $1 == " . $mb->VERSION;
+ cmp_ok $1, '==', $mb->VERSION, "Check version used to create META.yml: $1 == " . $mb->VERSION;
SKIP: {
skip( "not sure if we can create a tarball on this platform", 1 )
|