[Module::Build] Broken test in runthrough.t
Status: Beta
Brought to you by:
kwilliams
|
From: <and...@fr...> - 2006-02-14 07:56:55
|
The following test is broken in bleadperl:
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;
The last line should compensate for trailing zeroes:
is 0+$1, 0+$mb->VERSION, "Check version used to create META.yml: $1 == " . $mb->VERSION;
Here is how the failure manifests:
t/runthrough......ok 14/28
# Failed test 'Check version used to create META.yml: 0.2707 == 0.270700'
# in t/runthrough.t at line 142.
# got: '0.2707'
# expected: '0.270700'
t/runthrough......NOK 19# Looks like you failed 1 test of 28.
t/runthrough......dubious
Test returned status 1 (wstat 256, 0x100)
--
andreas
|