Subject: | t/validations.t fails (with newer Path::Router?) |
t/validations.t may fail:
Attribute (validations) does not pass the type constraint because: Reference {"foo" => bless( {"_default_message" => 'CODE(0x2eee5e8)',"c...} did not pass type constraint "PathRouterRouteValidationMap" at constructor Path::Router::Route::Slurpy::new (defined at /tmpfs/.cpan-build-cpansand/2016030706/Path-Router-Route-Slurpy-0.141330-0hlGO1/blib/lib/Path/Router/Route/Slurpy.pm line 118) line 83
Path::Router::Route::Slurpy::new('Path::Router::Route::Slurpy', 'path', '/one/two/*:foo', 'validations', 'HASH(0x2ef8a38)') called at /home/cpansand/.cpan/build/2016030706/Path-Router-0.15-rkS4mt/blib/lib/Path/Router.pm line 85
Path::Router::add_route('Path::Router=HASH(0x1786508)', '/one/two/*:foo', 'validations', 'HASH(0x2ef8a38)') called at t/validations.t line 25
# Looks like your test exited with 255 before it could output anything.
t/validations.t ...........
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 18/18 subtests
Statistical analysis suggests that this problem happens only with newer Path::Router versions (negative theta is bad):
(2)
****************************************************************
Regression 'mod:Path::Router'
****************************************************************
Name Theta StdErr T-stat
[0='const'] 1.0000 0.0000 157288802477428704.00
[1='eq_0.13'] 0.0000 0.0000 13.86
[2='eq_0.14'] 0.0000 0.0000 17.33
[3='eq_0.15'] -1.0000 0.0000 -90810732450857312.00
R^2= 1.000, N= 48, K= 4
****************************************************************