t/basic-custom-formats.t fails on some of my smokers:
Could not find "Body" in __DATA__ section of ["main"]. at /usr/perl5.28.1Dp/lib/site_perl/5.28.1/JSON/Validator/Util.pm line 52.
JSON::Validator::Util::data_section("main", "Body", HASH(0x8042427e0)) called at /usr/perl5.28.1Dp/lib/site_perl/5.28.1/JSON/Validator.pm line 277
JSON::Validator::_load_schema(JSON::Validator::OpenAPI::Mojolicious=HASH(0x803e1e990), Mojo::URL=HASH(0x80421f8a0)) called at /usr/perl5.28.1Dp/lib/site_perl/5.28.1/JSON/Validator.pm line 411
JSON::Validator::_resolve(JSON::Validator::OpenAPI::Mojolicious=HASH(0x803e1e990), Mojo::URL=HASH(0x80421f8a0)) called at /usr/perl5.28.1Dp/lib/site_perl/5.28.1/JSON/Validator.pm line 491
JSON::Validator::_resolve_ref(JSON::Validator::OpenAPI::Mojolicious=HASH(0x803e1e990), HASH(0x80421feb8), Mojo::URL=HASH(0x80421fb58), undef) called at /usr/home/cpansand/.cpan/build/2020101008/Mojolicious-Plugin-OpenAPI-3.40-6/blib/lib/JSON/Validator/OpenAPI/Mojolicious.pm line 465
JSON::Validator::OpenAPI::Mojolicious::_resolve_ref(JSON::Validator::OpenAPI::Mojolicious=HASH(0x803e1e990), HASH(0x80421feb8), Mojo::URL=HASH(0x80421fb58)) called at /usr/perl5.28.1Dp/lib/site_perl/5.28.1/JSON/Validator.pm line 454
JSON::Validator::_resolve(JSON::Validator::OpenAPI::Mojolicious=HASH(0x803e1e990), "data://main/custom-format.json") called at /usr/home/cpansand/.cpan/build/2020101008/Mojolicious-Plugin-OpenAPI-3.40-6/blib/lib/JSON/Validator/OpenAPI/Mojolicious.pm line 39
JSON::Validator::OpenAPI::Mojolicious::load_and_validate_schema(JSON::Validator::OpenAPI::Mojolicious=HASH(0x803e1e990), "data://main/custom-format.json", HASH(0x803e75f90)) called at /usr/home/cpansand/.cpan/build/2020101008/Mojolicious-Plugin-OpenAPI-3.40-6/blib/lib/Mojolicious/Plugin/OpenAPI.pm line 35
Mojolicious::Plugin::OpenAPI::register(Mojolicious::Plugin::OpenAPI=HASH(0x803b21828), Mojolicious::Lite=HASH(0x803b26288), HASH(0x8009e1810)) called at /usr/perl5.28.1Dp/lib/site_perl/5.28.1/Mojolicious/Plugins.pm line 45
Mojolicious::Plugins::register_plugin(Mojolicious::Plugins=HASH(0x803dbdb40), "OpenAPI", Mojolicious::Lite=HASH(0x803b26288), HASH(0x8009e1810)) called at /usr/perl5.28.1Dp/lib/site_perl/5.28.1/Mojolicious.pm line 178
Mojolicious::plugin(Mojolicious::Lite=HASH(0x803b26288), "OpenAPI", HASH(0x8009e1810)) called at /usr/perl5.28.1Dp/lib/site_perl/5.28.1/Mojolicious/Lite.pm line 45
main::plugin("OpenAPI", HASH(0x8009e1810)) called at t/basic-custom-formats.t line 13
t/basic-custom-formats.t ...............
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
It seems that this happens if JSON::Validator 4.05 is installed.
t/basic-custom-formats.t fails on some of my smokers:
It seems that this happens if JSON::Validator 4.05 is installed.