Skip Menu |

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

Report information
The Basics
Id: 86603
Status: new
Priority: 0/
Queue: Test-ConsistentVersion

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

Bug Information
Severity: (no value)
Broken in: v0.2.3
Fixed in: (no value)



Subject: cannot handle unicode modules
I tried creating a standard Test::ConsistentVersion test for this dist: https://metacpan.org/release/Acme-LookOfDisapproval https://github.com/karenetheridge/Acme-LookOfDisapproval And I got: 1..6 # Distribution version: 0.004 ok 1 - Acme::LookOfDisapproval is the same as the distribution version # Unrecognized character \xE0; marked by <-- HERE after ire Acme::<-- HERE near column 15 at (eval 66) line 1. not ok 2 - Acme::ಠ_ಠ is the same as the distribution version # Failed test 'Acme::ಠ_ಠ is the same as the distribution version' # at /Users/ether/.perlbrew/libs/19.1@std/lib/perl5/Test/ConsistentVersion.pm line 45. # got: undef # expected: '0.004' ok 3 - Acme::LookOfDisapproval POD version is the same as module version # Unrecognized character \xE0; marked by <-- HERE after ire Acme::<-- HERE near column 15 at (eval 73) line 1. Use of uninitialized value $module_version in quotemeta at /Users/ether/.perlbrew/libs/19.1@std/lib/perl5/Test/ConsistentVersion.pm line 83. not ok 4 - Acme::ಠ_ಠ POD version is the same as module version # Failed test 'Acme::ಠ_ಠ POD version is the same as module version' # at /Users/ether/.perlbrew/libs/19.1@std/lib/perl5/Test/Pod/Content.pm line 61. # 'version 0.004' # doesn't match '(?^:(^|\s)(\s|$))' ok 5 - Changelog includes reference to the distribution version: 0.004 not ok 6 - Unable to find README file # Failed test 'Unable to find README file' # at /Users/ether/.perlbrew/libs/19.1@std/lib/perl5/Test/ConsistentVersion.pm line 48. # Looks like you failed 4 tests of 6. The version *is* properly set in both $VERSION and pod, but it is not being parsed properly. Perl supports unicode filenames for packages, as well as variable names and module names, starting in 5.16.0.