Skip Menu |

This queue is for tickets about the Text-FromAny CPAN distribution.

Report information
The Basics
Id: 119538
Status: open
Priority: 0/
Queue: Text-FromAny

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

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



CC: nigelm [...] cpan.org
Subject: t/01-reading.t test started to fail
My smoker systems started to report the following failure: ... # Failed test 'Text loaded properly' # at t/01-reading.t line 88. # got: 'Test file for Text::FromAny # With four spaces: |    | # And a link to our git repo plus our issue tracker and lastly a # duplicate of the link to our git repo. # # http://github.com/portu/Text-FromAny # http://github.com/portu/Text-FromAny/issues' # expected: 'Test file for Text::FromAny # With four spaces: | | # And a link to our git repo plus our issue tracker and lastly a # duplicate of the link to our git repo. # # http://github.com/portu/Text-FromAny # http://github.com/portu/Text-FromAny/issues' # Looks like you failed 1 test of 31. t/01-reading.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/31 subtests ... The difference is invisible here, but it's about space vs. non-breakable space. I guess that the following change in HTML-Formatter might cause the trouble (turning nbsp into normal spaces): https://metacpan.org/diff/file?target=NIGELM%2FHTML-Formatter-2.16%2F&source=NIGELM%2FHTML-Formatter-2.14#lib/HTML/Formatter.pm
I am having a look at this within HTML::Formatter which contains the change that has provoked the test failure. There is definitely a unicode problem within the module, but identifying exactly what is happening and how to fix it is taking a little while....