Subject: | YAML/JSON tests are not failing when improperly encoded characters are seen |
When an improperly encoded character appears in a META.* file, the validation tests should fail.
e.g. in the MooseX-Storage 0.40 release, I see:
xt/release/kwalitee.t ............. utf8 "\xE5" does not map to Unicode at /Users/ether/.perlbrew/libs/19.3@std/lib/perl5/Module/CPANTS/Kwalitee/MetaYML.pm line 31, <$fh> chunk 1.
xt/release/kwalitee.t ............. ok
This test should be failing, because the META.yml file in this release contains bad encoding (due to a Dist::Zilla problem, we think) -- especially since the CPANTS site is showing lots of problems parsing the file (see RT#88215).