Skip Menu |

This queue is for tickets about the Exporter-Lite CPAN distribution.

Report information
The Basics
Id: 20323
Status: resolved
Priority: 0/
Queue: Exporter-Lite

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

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



Subject: Version error changed for bleadperl
Version objects and stuff have changed some error messages and your tests should be updated to match. I had to apply this patch to get bleadperl to run your test without failing. I didn't read the module code to see if anything in there cares about the change. This just fixes the test's expectation of what perl is providing back. Josh --- t/Exporter-Lite.t~ 2001-12-16 20:10:58.000000000 -0600 +++ t/Exporter-Lite.t 2006-07-06 14:16:29.000000000 -0500 @@ -101,6 +101,6 @@ ::is( $@, '', 'use Foo VERSION' ); eval "use Dummy 99"; - ::like( $@, '/Dummy version 99 required--this is only version/', + ::like( $@, '/Dummy version 99(?:\Q.000 (v99.0.0) \E)?required--this is only version/', 'use Foo VERSION and version too high' ); }
Fixed in trunk.