zigorou / perl-JSV

JSON Schema implementation for Perl
Other
25 stars 17 forks source link

Tests fail (with Data::Walk 2.00) #45

Open eserte opened 8 years ago

eserte commented 8 years ago

A number of tests started to fail on my smoker machines. Statistical analysis suggests that the problem is caused by recent Data::Walk versions:

****************************************************************
Regression 'mod:Data::Walk'
****************************************************************
Name                   Theta          StdErr     T-stat
[0='const']           1.0000          0.0000    158397264459701504.00
[1='eq_2.00']        -1.0000          0.0000    -75883399277069552.00

R^2= 1.000, N= 61, K= 2
****************************************************************
yfuruyama commented 8 years ago

@eserte Thanks for reporting it. It's due to $Data::Walk::type is "HASH" but $Data::Walk::container is not hash data. https://github.com/zigorou/perl-JSV/blob/master/lib/JSV/Reference.pm#L95-L101

I'll investigate it deeply.