Subject: | Tests fail (with JSON::Validator 1.02?) |
Test log:
Use of uninitialized value $got in pattern match (m//) at /usr/perl5.20.1Dp/lib/site_perl/5.20.1/Test/Deep/Regexp.pm line 57.
# Failed test 'allOf'
# at t/010_combining_schema.t line 62.
# Using Regexp on $data->{"type"}
# got : undef
# expect : (?^:^(residential|business)$)
# Failed test 'round trip'
# at t/010_combining_schema.t line 127.
JSON::Schema::ToJSON encountered oneOf, see CAVEATS perldoc section at /home/cpansand/.cpan/build/2017091121/JSON-Schema-ToJSON-0.11-cAZyHw/blib/lib/JSON/Schema/ToJSON.pm line 381.
JSON::Schema::ToJSON encountered oneOf, see CAVEATS perldoc section at /home/cpansand/.cpan/build/2017091121/JSON-Schema-ToJSON-0.11-cAZyHw/blib/lib/JSON/Schema/ToJSON.pm line 381.
# Looks like you failed 2 tests of 8.
You have loaded versions of test modules known to have problems with Test2.
This could explain some test failures.
* Module 'Test::Exception' is outdated, we recommed updating above 0.42.
t/010_combining_schema.t ..
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/8 subtests
Statistical analysis:
****************************************************************
Regression 'mod:JSON::Validator'
****************************************************************
Name Theta StdErr T-stat
[0='const'] 1.0000 0.0000 14785724053071498.00
[1='eq_0.97'] -0.0000 0.0000 -1.60
[2='eq_0.98'] 0.0000 0.0000 2.84
[3='eq_1.00'] 0.0000 0.0000 0.00
[4='eq_1.01'] 0.0000 0.0000 1.37
[5='eq_1.02'] -1.0000 0.0000 -14306058807251574.00
R^2= 1.000, N= 131, K= 6
****************************************************************