Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail with locales without a dot radix #5

Open
eserte opened this issue Nov 2, 2015 · 0 comments
Open

Tests fail with locales without a dot radix #5

eserte opened this issue Nov 2, 2015 · 0 comments

Comments

@eserte
Copy link

eserte commented Nov 2, 2015

If the current locale uses a non-dot radix (e.g. German and most other European languages, which use a comma radix), then the test suite fails, but only for perls >= 5.22.0. Sample failing test case:

#   Failed test 'Simple mean ok'
#   at t/Catmandu-Fix-stat_mean.t line 18.
#     Structures begin differing at:
#          $got->{numbers} = '2,5'
#     $expected->{numbers} = '2.5'
# Looks like you failed 1 test of 4.
t/Catmandu-Fix-stat_mean.t ...... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests 

Detailed reports will be visible in a few hours at http://matrix.cpantesters.org/?dist=Catmandu-Stat%200.03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant