SineSwiper / Parse-Path

Parser for paths
http://metacpan.org/release/Parse-Path/
0 stars 0 forks source link

Tests fail with Moo 2.002002 #2

Open eserte opened 8 years ago

eserte commented 8 years ago

My smoker systems started to report test failures:

#   Failed test 'Basic --> a[4] construction didn't die'
#   at t/lib/PathTest.pm line 28.
# died: Can't call method "_path" on an undefined value at /home/cpansand/.cpan/build/2016062218/Parse-Path-0.92-QlX_IC/blib/lib/P
arse/Path/Role/Path.pm line 216.

#   Failed test 'Basic --> a[1].b.c.d construction didn't die'
#   at t/lib/PathTest.pm line 28.
# died: Can't call method "_path" on an undefined value at /home/cpansand/.cpan/build/2016062218/Parse-Path-0.92-QlX_IC/blib/lib/P
arse/Path/Role/Path.pm line 216.

#   Failed test 'Basic --> a[3].turnip construction didn't die'
#   at t/lib/PathTest.pm line 28.
# died: Can't call method "_path" on an undefined value at /home/cpansand/.cpan/build/2016062218/Parse-Path-0.92-QlX_IC/blib/lib/Parse/Path/Role/Path.pm line 216.

... (etc) ...

Statistical analysis suggests that the problem is caused by the latest Moo version (negative theta is bad):

****************************************************************
Regression 'mod:Moo'
****************************************************************
Name                   Theta          StdErr     T-stat
[0='const']           1.0000          0.0000    4681770401419247.00
[1='eq_1.004002']            -0.0000          0.0000      -0.95
[2='eq_1.004005']            -0.0000          0.0000      -1.27
[3='eq_1.006000']             0.0000          0.0000       0.46
[4='eq_1.007000']             0.0000          0.0000       0.85
[5='eq_2.000001']             0.0000          0.0000       0.42
[6='eq_2.000002']             0.0000          0.0000       1.00
[7='eq_2.001001']             0.0000          0.0000       1.02
[8='eq_2.002002']            -1.0000          0.0000    -4600342095843677.00

R^2= 1.000, N= 83, K= 9
****************************************************************
haarg commented 8 years ago

Fixed in Moo 2.002003.