Subject: | Tests does not pass on ru_RU.UTF8 locale |
Hi!
Tests for this module does not properly pass if I ran them in ru_RU.UTF8 locale.
One test fails, fail report is the following.
# Failed test 'formatted number is there'
# at t/deflators/formatnumber.t line 23.
# '<form action="" method="post">
# <div>
# <input name="foo" type="text" value="10<A0>002<A0>300,12300000" />
# </div>
# </form>
# '
# doesn't match '(?^:\"10[,. ]{0,2}002[,. ]{0,2}300[., ]123[,. ]?000[,. ]?
00\")'
# Looks like you failed 1 test of 1.
t/deflators/formatnumber.t .....................................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
For en_US.UTF8 everything works well.
I guess in Russian locale (at least at current Debian) an unbreakable space is used to separate thousands in a number.