Skip Menu |

This queue is for tickets about the Module-Math-Depends CPAN distribution.

Report information
The Basics
Id: 29136
Status: new
Priority: 0/
Queue: Module-Math-Depends

People
Owner: Nobody in particular
Requestors: jloverso [...] mathworks.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.01
Fixed in: (no value)



Subject: 'version' 0.72 through 0.7203 breaks test +PATCH
If you upgrade to version 0.72 (or 0.7203), this test will fail: $ perl -I../blib/lib 02_main.t 1..7 ok 1 - The object isa Module::Math::Depends ok 2 - ->new makes an empty set ok 3 - The object isa Module::Math::Depends ok 4 - ->from_hash works ok 5 - The object isa version ok 6 - The object isa version not ok 7 - Foo has ok dep # Failed test 'Foo has ok dep' # at 02_main.t line 37. # got: '1.000' # expected: '1' # Looks like you failed 1 test of 7. This is caused by this change in 'version' 0.72: 2007-04-14 John Peacock <jpeacock@cpan.org> Return original string value for all stringification cases except for qv(1.2) which returns 'v1.2' for roundtrip purposes. This fixes the test to work for both versions of 'version': --- t/02_main.t.orig 2006-09-24 22:29:23.000000000 -0400 +++ t/02_main.t 2007-09-03 12:54:22.789829000 -0400 @@ -27,7 +27,7 @@ SCOPE: { my $deps = MMD->from_hash( { - Foo => 1, + Foo => '1.000', Bar => 0, } ); isa_ok( $deps, MMD );