Skip Menu |

This queue is for tickets about the Module-Generic CPAN distribution.

Report information
The Basics
Id: 132667
Status: resolved
Priority: 0/
Queue: Module-Generic

People
Owner: JDEGUEST [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • v0.12.6
  • v0.12.7
Fixed in: (no value)



Subject: Failed test 'French thousand separator => space' (v0.12.6)
Seen on a Debian/bullseye (Debian/testing) system: ... # Failed test 'French thousand separator => space' # at t/02.num.t line 25. # got: '\xA0' # expected: ' ' # Looks like you failed 1 test of 138. t/02.num.t ..... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/138 subtests ...
On 2020-05-21 04:23:36, SREZIC wrote: Show quoted text
> Seen on a Debian/bullseye (Debian/testing) system: > > ... > # Failed test 'French thousand separator => space' > # at t/02.num.t line 25. > # got: '\xA0' > # expected: ' ' > # Looks like you failed 1 test of 138. > t/02.num.t ..... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/138 subtests > ...
Still fails with Module-Generic-v0.12.8: ... # Failed test 'French thousand separator => space' # at t/02.num.t line 45. # '\xA0' # doesn't match '(?^:[[:blank:]]+)' # Looks like you failed 1 test of 138. t/02.num.t ..... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/138 subtests ... It seems that nbsp does not count as a blank character --- maybe you have more luck using unicode properties (\p{...})?
Fixed. I used [[:blank:]\h] as documented in perlrecharclass