Skip Menu |

This queue is for tickets about the version CPAN distribution.

Report information
The Basics
Id: 110852
Status: resolved
Priority: 0/
Queue: version

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

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



Subject: Incorrect plan in t/07locale.t (0.9912_01)
The plan is off by one if no comma locale was found: perl -Mblib t/07locale.t 1..8 ok 1 - use version; ok 2 - Not using locale yet ok 3 # skip Cannot test locale handling without a comma locale ok 4 # skip Cannot test locale handling without a comma locale ok 5 # skip Cannot test locale handling without a comma locale ok 6 # skip Cannot test locale handling without a comma locale ok 7 # skip Cannot test locale handling without a comma locale # Looks like you planned 8 tests but ran 7. Actually, this is on a FreeBSD 9 system which _has_ comma locales installed. But it seems none of the locales listed in DATA matches one of the available ones. On FreeBSD, the "utf8" encoding is spelled differently in the locale name, it's de_DE.UTF-8, not de_DE.utf8. Further possible locale names would be: * de_DE.ISO8859-1 * de_DE.ISO8859-15
Interesting. That code hasn't changed substantially in ages, except for the recent TODO test I added for dualvar $] (so it was always failing to find a comma locale). I'm going to make that one 'no_plan' as well as add several of the variant locale names to the acceptable list and push out another alpha (probably tomorrow). Thanks for the report.
On Sun Jan 03 11:39:01 2016, JPEACOCK wrote: Show quoted text
> I'm going to make that one 'no_plan'
which I can't use with skip. Sigh. I bumped the number of skip tests instead (which is what I should have done in the first place) and added .UTF-8 variants for all of the locales I have listed as .utf8. John
Resolved in 0.9913