Skip Menu |

This queue is for tickets about the Test-Most CPAN distribution.

Report information
The Basics
Id: 45586
Status: resolved
Priority: 0/
Queue: Test-Most

People
Owner: Nobody in particular
Requestors: DAKKAR [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.21_01
Fixed in: (no value)



Subject: version comparison for Test::Differences can throw a warning
In the BEGIN block around line 300 of Test::Most, you have: if ( Test::Differences->VERSION <= 0.47 ) { which will throw a warning for development versions of Test::Differences ("Argument "0.49_02" isn't numeric in numeric le") What about using the 'version' module to do the comparison?
On Thu Apr 30 04:58:06 2009, DAKKAR wrote: Show quoted text
> In the BEGIN block around line 300 of Test::Most, you have: > > if ( Test::Differences->VERSION <= 0.47 ) { > > which will throw a warning for development versions of Test::Differences > ("Argument "0.49_02" isn't numeric in numeric le") > > What about using the 'version' module to do the comparison?
This was fixed a while ago and I should have closed this ticket. Cheers, Ovid