gbv / Catmandu-PICA

Catmandu modules for working with PICA+ data
https://metacpan.org/release/Catmandu-PICA
Other
4 stars 4 forks source link

t/03-fix.t started to fail (unicode issue?) #71

Closed eserte closed 4 years ago

eserte commented 4 years ago

On my smoker systems the test suite started to fail:

#   Failed test 'fix with pluck'
#   at t/03-fix.t line 25.
Wide character in print at /usr/perl5.31.11p/lib/5.31.11/Test2/Formatter/TAP.pm line 125.
#          got: '160.45 €36420368139783642036811'
#     expected: '160.45 €36420368139783642036811'

#   Failed test 'fix record'
#   at t/03-fix.t line 27.
Wide character in print at /usr/perl5.31.11p/lib/5.31.11/Test2/Formatter/TAP.pm line 125.
#     Structures begin differing at:
#          $got->{price} = '160.45 €364205076X9783642050763'
#     $expected->{price} = '160.45 €364205076X9783642050763'
# Looks like you failed 2 tests of 6.
t/03-fix.t ................. 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/6 subtests 

(See also http://fast-matrix.cpantesters.org/?dist=Catmandu-PICA%201.02;reports=1#sl=7,1 )

Statistical analysis suggests that this started to fail with PICA::Data 1.08 (@nichtich : FYI):

****************************************************************
Regression 'mod:PICA::Data'
****************************************************************
Name                   Theta          StdErr     T-stat
[0='const']           1.0000          0.0000    196853234403964704.00
[1='eq_1.08']        -1.0000          0.0000    -64900589445389040.00

R^2= 1.000, N= 92, K= 2
****************************************************************
nichtich commented 4 years ago

Should be fixed with PICA::Data >= 1.12