Subject: | Tests fail with non-English locale |
See subject. For example, with a German locale on a FreeBSD system:
...
# Failed test 'account as string'
# at t/01-modules.t line 13.
# got: '$3.469'
# expected: '$3,469'
# Failed test 'account as string with usd'
# at t/01-modules.t line 14.
# got: '$3.469'
# expected: '$3,469'
# Failed test 'value: 1USD as string'
# at t/01-modules.t line 80.
# got: '$1,00'
# expected: '$1.00'
# Looks like you failed 3 tests of 17.
t/01-modules.t ...........
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/17 subtests
...
On a Linux system with German locale it looks different, but still a failure:
# Failed test 'account as string'
# at t/01-modules.t line 13.
# got: '3.469$'
# expected: '$3,469'
# Failed test 'account as string with usd'
# at t/01-modules.t line 14.
# got: '3.469$'
# expected: '$3,469'
# Failed test 'value: 1USD as string'
# at t/01-modules.t line 80.
# got: '1,00$'
# expected: '$1.00'
# Looks like you failed 3 tests of 17.
t/01-modules.t ...........
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/17 subtests
...