Skip to content

Tests fail with locales without a dot radix #5

Open
@eserte

Description

@eserte

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions