Building K/KO/KOORCHIK/Validator-LIVR-2.21.tar.gz Loading internal logger. Log::Log4perl recommended for better logging CPAN: HTTP::Tiny loaded ok (v0.096) CPAN: Net::SSLeay loaded ok (v1.96) CPAN: IO::Socket::SSL loaded ok (v2.099) Fetching with HTTP::Tiny: https://cpan.org/authors/01mailrc.txt.gz Reading '/home/cpancover/.cpan/sources/authors/01mailrc.txt.gz' CPAN: Compress::Zlib loaded ok (v2.223) ............................................................................DONE Fetching with HTTP::Tiny: https://cpan.org/modules/02packages.details.txt.gz Reading '/home/cpancover/.cpan/sources/modules/02packages.details.txt.gz' Database was generated on Sun, 08 Nov 2026 07:29:02 GMT CPAN: HTTP::Date loaded ok (v6.08) ............... New CPAN.pm version (v2.41) available. [Currently running version is v2.38] You might want to try install CPAN reload cpan to both upgrade CPAN.pm and run the new version without leaving the current session. .............................................................DONE Fetching with HTTP::Tiny: https://cpan.org/modules/03modlist.data.gz Reading '/home/cpancover/.cpan/sources/modules/03modlist.data.gz' DONE Writing /home/cpancover/.cpan/Metadata CPAN: YAML loaded ok (v1.321) CPAN: CPAN::Kwalify loaded ok (v5.50) Fetching with HTTP::Tiny: https://cpan.org/authors/id/K/KO/KOORCHIK/Validator-LIVR-2.21.tar.gz CPAN: Digest::SHA loaded ok (v6.04) Fetching with HTTP::Tiny: https://cpan.org/authors/id/K/KO/KOORCHIK/CHECKSUMS Checksum for /home/cpancover/.cpan/sources/authors/id/K/KO/KOORCHIK/Validator-LIVR-2.21.tar.gz ok CPAN: CPAN::Meta::Requirements loaded ok (v2.145) CPAN: Parse::CPAN::Meta loaded ok (v2.150013) CPAN: CPAN::Meta loaded ok (v2.150013) CPAN: Module::CoreList loaded ok (v5.20260708) Configuring K/KO/KOORCHIK/Validator-LIVR-2.21.tar.gz with Makefile.PL Warning: prerequisite JSON 0 not found. Warning: prerequisite Test::MockTime 0 not found. Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Validator::LIVR Writing MYMETA.yml and MYMETA.json KOORCHIK/Validator-LIVR-2.21.tar.gz /usr/local/bin/perl Makefile.PL -- OK Running make for K/KO/KOORCHIK/Validator-LIVR-2.21.tar.gz ---- Unsatisfied dependencies detected during ---- ---- KOORCHIK/Validator-LIVR-2.21.tar.gz ---- JSON [build_requires] Test::MockTime [build_requires] Running install for module 'JSON' Fetching with HTTP::Tiny: https://cpan.org/authors/id/I/IS/ISHIGAKI/JSON-4.11.tar.gz Fetching with HTTP::Tiny: https://cpan.org/authors/id/I/IS/ISHIGAKI/CHECKSUMS Checksum for /home/cpancover/.cpan/sources/authors/id/I/IS/ISHIGAKI/JSON-4.11.tar.gz ok Configuring I/IS/ISHIGAKI/JSON-4.11.tar.gz with Makefile.PL Welcome to JSON (v.4.11) ============================= ** BACKWARD INCOMPATIBILITY ** Since version 2.90, stringification (and string comparison) for JSON::true and JSON::false has not been overloaded. It shouldn't matter as long as you treat them as boolean values, but a code that expects they are stringified as "true" or "false" doesn't work as you have expected any more. if (JSON::true eq 'true') { # now fails print "The result is 1 now."; # => The result is 1 now. And now these boolean values don't inherit JSON::Boolean, either. When you need to test a value is a JSON boolean value or not, use JSON::is_bool function, instead of testing the value inherits a particular boolean class or not. Checking if your kit is complete... Looks good Prototype mismatch: sub JSON::PP::decode_json ($) vs none at /usr/local/lib/perl5/5.44.0/JSON/PP.pm line 117. Generating a Unix-style Makefile Writing Makefile for JSON Writing MYMETA.yml and MYMETA.json ISHIGAKI/JSON-4.11.tar.gz /usr/local/bin/perl Makefile.PL -- OK Running make for I/IS/ISHIGAKI/JSON-4.11.tar.gz ---- Unsatisfied dependencies detected during ---- ---- ISHIGAKI/JSON-4.11.tar.gz ---- JSON::XS [requires,optional] cp lib/JSON/backportPP.pm blib/lib/JSON/backportPP.pm cp lib/JSON/backportPP/Compat5006.pm blib/lib/JSON/backportPP/Compat5006.pm cp lib/JSON/backportPP/Compat5005.pm blib/lib/JSON/backportPP/Compat5005.pm cp lib/JSON.pm blib/lib/JSON.pm cp lib/JSON/backportPP/Boolean.pm blib/lib/JSON/backportPP/Boolean.pm ISHIGAKI/JSON-4.11.tar.gz /usr/bin/make -- OK ISHIGAKI/JSON-4.11.tar.gz Skipping test because of notest pragma Running make install for ISHIGAKI/JSON-4.11.tar.gz Installing /usr/local/lib/perl5/site_perl/5.44.0/JSON.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/JSON/backportPP.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/JSON/backportPP/Compat5006.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/JSON/backportPP/Compat5005.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/JSON/backportPP/Boolean.pm Appending installation info to /usr/local/lib/perl5/5.44.0/x86_64-linux/perllocal.pod ISHIGAKI/JSON-4.11.tar.gz /usr/bin/make install -- OK Running install for module 'JSON::XS' Fetching with HTTP::Tiny: https://cpan.org/authors/id/M/ML/MLEHMANN/JSON-XS-4.04.tar.gz Fetching with HTTP::Tiny: https://cpan.org/authors/id/M/ML/MLEHMANN/CHECKSUMS Checksum for /home/cpancover/.cpan/sources/authors/id/M/ML/MLEHMANN/JSON-XS-4.04.tar.gz ok ---- Unsatisfied dependencies detected during ---- ---- MLEHMANN/JSON-XS-4.04.tar.gz ---- Canary::Stability [build_requires] Running install for module 'Canary::Stability' Fetching with HTTP::Tiny: https://cpan.org/authors/id/M/ML/MLEHMANN/Canary-Stability-2013.tar.gz Checksum for /home/cpancover/.cpan/sources/authors/id/M/ML/MLEHMANN/Canary-Stability-2013.tar.gz ok Configuring M/ML/MLEHMANN/Canary-Stability-2013.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Canary::Stability Writing MYMETA.yml and MYMETA.json MLEHMANN/Canary-Stability-2013.tar.gz /usr/local/bin/perl Makefile.PL -- OK Running make for M/ML/MLEHMANN/Canary-Stability-2013.tar.gz cp Stability.pm blib/lib/Canary/Stability.pm MLEHMANN/Canary-Stability-2013.tar.gz /usr/bin/make -- OK MLEHMANN/Canary-Stability-2013.tar.gz Skipping test because of notest pragma Running make install for MLEHMANN/Canary-Stability-2013.tar.gz Installing /usr/local/lib/perl5/site_perl/5.44.0/Canary/Stability.pm Appending installation info to /usr/local/lib/perl5/5.44.0/x86_64-linux/perllocal.pod MLEHMANN/Canary-Stability-2013.tar.gz /usr/bin/make install -- OK MLEHMANN/JSON-XS-4.04.tar.gz Has already been unwrapped into directory /home/cpancover/.cpan/build/JSON-XS-4.04-0 Configuring M/ML/MLEHMANN/JSON-XS-4.04.tar.gz with Makefile.PL *** *** Canary::Stability COMPATIBILITY AND SUPPORT CHECK *** ================================================= *** *** Hi! *** *** I do my best to provide predictable and reliable software. *** *** However, in recent releases, P5P (who maintain perl) have been *** introducing regressions that are sometimes subtle and at other times *** catastrophic, often for personal preferences with little or no concern *** for existing code, most notably CPAN. *** *** For this reason, it has become very hard for me to maintain the level *** of reliability and support I have committed myself to in the past, at *** least with some perl versions: I simply can't keep up working around new *** bugs or gratituous incompatibilities, and in turn you might suffer from *** unanticipated problems. *** *** Therefore I have introduced a support and compatibility check, the results *** of which follow below, together with a FAQ and some recommendations. *** *** This check is just to let you know that there might be a risk, so you can *** make judgement calls on how to proceed - it will not keep the module from *** installing or working. *** *** The stability canary says: (nothing, it was driven away by harsh weather) *** *** It seems you are running perl version 5.044000, likely the "official" or *** "standard" version. While there is nothing wrong with doing that, *** standard perl versions 5.022 and up are not supported by JSON::XS. *** While this might be fatal, it might also be all right - if you run into *** problems, you might want to downgrade your perl or switch to the *** stability branch. *** *** If everything works fine, you can ignore this message. *** *** *** Stability canary mini-FAQ: *** *** Do I need to do anything? *** With luck, no. While some distributions are known to fail *** already, most should probably work. This message is here *** to alert you that your perl is not supported by JSON::XS, *** and if things go wrong, you either need to downgrade, or *** sidegrade to the stability variant of your perl version, *** or simply live with the consequences. *** *** What is this canary thing? *** It's purpose is to check support status of JSON::XS with *** respect to your perl version. *** *** What is this "stability branch"? *** It's a branch or fork of the official perl, by schmorp, to *** improve stability and compatibility with existing modules. *** *** How can I skip this prompt on automated installs? *** Set PERL_CANARY_STABILITY_NOPROMPT=1 in your environment. *** More info is in the Canary::Stability manpage. *** *** Long version of this FAQ: http://stableperl.schmorp.de/faq.html *** Stability Branch homepage: http://stableperl.schmorp.de/ *** Continue anyways? [y] y Warning: prerequisite Types::Serialiser 0 not found. Warning: prerequisite common::sense 0 not found. Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for JSON::XS Writing MYMETA.yml and MYMETA.json MLEHMANN/JSON-XS-4.04.tar.gz /usr/local/bin/perl Makefile.PL -- OK Running make for M/ML/MLEHMANN/JSON-XS-4.04.tar.gz ---- Unsatisfied dependencies detected during ---- ---- MLEHMANN/JSON-XS-4.04.tar.gz ---- Types::Serialiser [requires] common::sense [requires] Running install for module 'Types::Serialiser' Fetching with HTTP::Tiny: https://cpan.org/authors/id/M/ML/MLEHMANN/Types-Serialiser-1.01.tar.gz Checksum for /home/cpancover/.cpan/sources/authors/id/M/ML/MLEHMANN/Types-Serialiser-1.01.tar.gz ok Configuring M/ML/MLEHMANN/Types-Serialiser-1.01.tar.gz with Makefile.PL Warning: prerequisite common::sense 0 not found. Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Types::Serialiser Writing MYMETA.yml and MYMETA.json MLEHMANN/Types-Serialiser-1.01.tar.gz /usr/local/bin/perl Makefile.PL -- OK Running make for M/ML/MLEHMANN/Types-Serialiser-1.01.tar.gz ---- Unsatisfied dependencies detected during ---- ---- MLEHMANN/Types-Serialiser-1.01.tar.gz ---- common::sense [requires] Running install for module 'common::sense' Fetching with HTTP::Tiny: https://cpan.org/authors/id/M/ML/MLEHMANN/common-sense-3.75.tar.gz Checksum for /home/cpancover/.cpan/sources/authors/id/M/ML/MLEHMANN/common-sense-3.75.tar.gz ok Configuring M/ML/MLEHMANN/common-sense-3.75.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for common::sense Writing MYMETA.yml and MYMETA.json MLEHMANN/common-sense-3.75.tar.gz /usr/local/bin/perl Makefile.PL -- OK Running make for M/ML/MLEHMANN/common-sense-3.75.tar.gz "/usr/local/bin/perl" sense.pm.PL sense.pm cp sense.pod blib/lib/common/sense.pod cp sense.pm blib/arch/common/sense.pm MLEHMANN/common-sense-3.75.tar.gz /usr/bin/make -- OK MLEHMANN/common-sense-3.75.tar.gz Skipping test because of notest pragma Running make install for MLEHMANN/common-sense-3.75.tar.gz Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /usr/local/lib/perl5/site_perl/5.44.0/x86_64-linux/common/sense.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/x86_64-linux/common/sense.pod Appending installation info to /usr/local/lib/perl5/5.44.0/x86_64-linux/perllocal.pod MLEHMANN/common-sense-3.75.tar.gz /usr/bin/make install -- OK MLEHMANN/Types-Serialiser-1.01.tar.gz Has already been unwrapped into directory /home/cpancover/.cpan/build/Types-Serialiser-1.01-0 MLEHMANN/Types-Serialiser-1.01.tar.gz Has already been prepared Running make for M/ML/MLEHMANN/Types-Serialiser-1.01.tar.gz cp Serialiser.pm blib/lib/Types/Serialiser.pm cp Serialiser/Error.pm blib/lib/Types/Serialiser/Error.pm MLEHMANN/Types-Serialiser-1.01.tar.gz /usr/bin/make -- OK MLEHMANN/Types-Serialiser-1.01.tar.gz Skipping test because of notest pragma Running make install for MLEHMANN/Types-Serialiser-1.01.tar.gz Installing /usr/local/lib/perl5/site_perl/5.44.0/Types/Serialiser.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/Types/Serialiser/Error.pm Appending installation info to /usr/local/lib/perl5/5.44.0/x86_64-linux/perllocal.pod MLEHMANN/Types-Serialiser-1.01.tar.gz /usr/bin/make install -- OK MLEHMANN/JSON-XS-4.04.tar.gz Has already been unwrapped into directory /home/cpancover/.cpan/build/JSON-XS-4.04-0 MLEHMANN/JSON-XS-4.04.tar.gz Has already been prepared Running make for M/ML/MLEHMANN/JSON-XS-4.04.tar.gz cp XS/Boolean.pm blib/lib/JSON/XS/Boolean.pm cp XS.pm blib/lib/JSON/XS.pm Running Mkbootstrap for XS () chmod 644 "XS.bs" "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- XS.bs blib/arch/auto/JSON/XS/XS.bs 644 "/usr/local/bin/perl" "/usr/local/lib/perl5/5.44.0/ExtUtils/xsubpp" -noprototypes -typemap '/usr/local/lib/perl5/5.44.0/ExtUtils/typemap' -typemap '/home/cpancover/.cpan/build/JSON-XS-4.04-0/typemap' XS.xs > XS.xsc mv XS.xsc XS.c cc -c -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"4.04\" -DXS_VERSION=\"4.04\" -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" XS.c XS.xs: In function 'decode_utf8': XS.xs:207:5: warning: 'Perl_utf8n_to_uvuni' is deprecated [-Wdeprecated-declarations] 207 | return utf8n_to_uvuni (s, len, clen, UTF8_CHECK_ONLY); | ^~~~~~ In file included from /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/perl.h:6242, from XS.xs:2: /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/proto.h:8976:1: note: declared here 8976 | Perl_utf8n_to_uvuni(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags) | ^~~~~~~~~~~~~~~~~~~ rm -f blib/arch/auto/JSON/XS/XS.so cc -shared -O2 -L/usr/local/lib -fstack-protector-strong XS.o -o blib/arch/auto/JSON/XS/XS.so \ \ chmod 755 blib/arch/auto/JSON/XS/XS.so cp bin/json_xs blib/script/json_xs "/usr/local/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/json_xs MLEHMANN/JSON-XS-4.04.tar.gz /usr/bin/make -- OK MLEHMANN/JSON-XS-4.04.tar.gz Skipping test because of notest pragma Running make install for MLEHMANN/JSON-XS-4.04.tar.gz "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- XS.bs blib/arch/auto/JSON/XS/XS.bs 644 Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /usr/local/lib/perl5/site_perl/5.44.0/x86_64-linux/auto/JSON/XS/XS.so Installing /usr/local/lib/perl5/site_perl/5.44.0/x86_64-linux/JSON/XS.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/x86_64-linux/JSON/XS/Boolean.pm Installing /usr/local/bin/json_xs Appending installation info to /usr/local/lib/perl5/5.44.0/x86_64-linux/perllocal.pod MLEHMANN/JSON-XS-4.04.tar.gz /usr/bin/make install -- OK Running install for module 'Test::MockTime' Fetching with HTTP::Tiny: https://cpan.org/authors/id/D/DD/DDICK/Test-MockTime-0.17.tar.gz Fetching with HTTP::Tiny: https://cpan.org/authors/id/D/DD/DDICK/CHECKSUMS Checksum for /home/cpancover/.cpan/sources/authors/id/D/DD/DDICK/Test-MockTime-0.17.tar.gz ok Configuring D/DD/DDICK/Test-MockTime-0.17.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Test::MockTime Writing MYMETA.yml and MYMETA.json DDICK/Test-MockTime-0.17.tar.gz /usr/local/bin/perl Makefile.PL -- OK Running make for D/DD/DDICK/Test-MockTime-0.17.tar.gz cp lib/Test/MockTime.pm blib/lib/Test/MockTime.pm DDICK/Test-MockTime-0.17.tar.gz /usr/bin/make -- OK DDICK/Test-MockTime-0.17.tar.gz Skipping test because of notest pragma Running make install for DDICK/Test-MockTime-0.17.tar.gz Installing /usr/local/lib/perl5/site_perl/5.44.0/Test/MockTime.pm Appending installation info to /usr/local/lib/perl5/5.44.0/x86_64-linux/perllocal.pod DDICK/Test-MockTime-0.17.tar.gz /usr/bin/make install -- OK KOORCHIK/Validator-LIVR-2.21.tar.gz Has already been unwrapped into directory /home/cpancover/.cpan/build/Validator-LIVR-2.21-0 KOORCHIK/Validator-LIVR-2.21.tar.gz Has already been prepared Running make for K/KO/KOORCHIK/Validator-LIVR-2.21.tar.gz cp lib/Validator/LIVR/Rules/Special.pm blib/lib/Validator/LIVR/Rules/Special.pm cp lib/Validator/LIVR/Rules/Types.pm blib/lib/Validator/LIVR/Rules/Types.pm cp lib/Validator/LIVR/Rules/Meta.pm blib/lib/Validator/LIVR/Rules/Meta.pm cp lib/Validator/LIVR/Rules/String.pm blib/lib/Validator/LIVR/Rules/String.pm cp lib/Validator/LIVR/Rules/Numeric.pm blib/lib/Validator/LIVR/Rules/Numeric.pm cp lib/Validator/LIVR/Rules/Modifiers.pm blib/lib/Validator/LIVR/Rules/Modifiers.pm cp lib/Validator/LIVR/Rules/Format.pm blib/lib/Validator/LIVR/Rules/Format.pm cp lib/Validator/LIVR/Rules/DateTime.pm blib/lib/Validator/LIVR/Rules/DateTime.pm cp lib/Validator/LIVR/Rules/Conditional.pm blib/lib/Validator/LIVR/Rules/Conditional.pm cp lib/Validator/LIVR/Rules/Collection.pm blib/lib/Validator/LIVR/Rules/Collection.pm cp lib/Validator/LIVR.pm blib/lib/Validator/LIVR.pm cp lib/Validator/LIVR/Rules/Common.pm blib/lib/Validator/LIVR/Rules/Common.pm KOORCHIK/Validator-LIVR-2.21.tar.gz /usr/bin/make -- OK KOORCHIK/Validator-LIVR-2.21.tar.gz Skipping test because of notest pragma Running make install for KOORCHIK/Validator-LIVR-2.21.tar.gz Installing /usr/local/lib/perl5/site_perl/5.44.0/Validator/LIVR.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/Validator/LIVR/Rules/Special.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/Validator/LIVR/Rules/Types.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/Validator/LIVR/Rules/Meta.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/Validator/LIVR/Rules/String.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/Validator/LIVR/Rules/Numeric.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/Validator/LIVR/Rules/Modifiers.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/Validator/LIVR/Rules/Format.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/Validator/LIVR/Rules/DateTime.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/Validator/LIVR/Rules/Conditional.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/Validator/LIVR/Rules/Collection.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/Validator/LIVR/Rules/Common.pm Appending installation info to /usr/local/lib/perl5/5.44.0/x86_64-linux/perllocal.pod KOORCHIK/Validator-LIVR-2.21.tar.gz /usr/bin/make install -- OK Checking coverage of Validator-LIVR-2.21 Error running /usr/local/bin/perl /dc/bin/cover --test --report json_summary --nosummary --select_dir blib (exit 2) cover: Deleting database /home/cpancover/.cpan/build/Validator-LIVR-2.21-0/cover_db cover: running make test "OPTIMIZE=-O0 -fprofile-arcs -ftest-coverage" "OTHERLDFLAGS=-fprofile-arcs -ftest-coverage" PERL_DL_NONLAZY=1 "/usr/local/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # Failed test 'Validator should contain no errors' # at t/01-livr_test_suite.t line 25. # { # 'got_errors' => { # 'required_false' => 'REQUIRED' # }, # 'test_data' => { # 'input' => { # 'empty_field' => '', # 'extra_field' => 'extra', # 'false_string' => 'false', # 'false_value' => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ), # 'minus_zero_number' => '0', # 'null_field' => undef, # 'one_number' => 1, # 'one_point_zero_number' => '1', # 'one_string' => '1', # 'required_false' => $VAR1->{'test_data'}{'input'}{'false_value'}, # 'required_zero_string' => '0', # 'true_string' => 'true', # 'true_value' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ), # 'zero_number' => 0, # 'zero_string' => '0' # }, # 'output' => { # 'empty_field' => '', # 'false_string' => $VAR1->{'test_data'}{'input'}{'false_value'}, # 'false_value' => $VAR1->{'test_data'}{'input'}{'false_value'}, # 'minus_zero_number' => $VAR1->{'test_data'}{'input'}{'false_value'}, # 'null_field' => undef, # 'one_number' => $VAR1->{'test_data'}{'input'}{'true_value'}, # 'one_point_zero_number' => $VAR1->{'test_data'}{'input'}{'true_value'}, # 'one_string' => $VAR1->{'test_data'}{'input'}{'true_value'}, # 'required_false' => $VAR1->{'test_data'}{'input'}{'false_value'}, # 'required_zero_string' => $VAR1->{'test_data'}{'input'}{'false_value'}, # 'true_string' => $VAR1->{'test_data'}{'input'}{'true_value'}, # 'true_value' => $VAR1->{'test_data'}{'input'}{'true_value'}, # 'zero_number' => $VAR1->{'test_data'}{'input'}{'false_value'}, # 'zero_string' => $VAR1->{'test_data'}{'input'}{'false_value'} # }, # 'rules' => { # 'empty_field' => 'boolean', # 'false_string' => 'boolean', # 'false_value' => [ # 'boolean' # ], # 'minus_zero_number' => 'boolean', # 'missing_field' => 'boolean', # 'null_field' => 'boolean', # 'one_number' => { # 'boolean' => [] # }, # 'one_point_zero_number' => 'boolean', # 'one_string' => 'boolean', # 'required_false' => [ # 'required', # 'boolean' # ], # 'required_zero_string' => [ # 'required', # 'boolean' # ], # 'true_string' => 'boolean', # 'true_value' => 'boolean', # 'zero_number' => 'boolean', # 'zero_string' => 'boolean' # }, # 'test_name' => '01-boolean' # } # } # Failed test 'Validator should return validated data' # at t/01-livr_test_suite.t line 30. # Structures begin differing at: # $got = undef # $expected = HASH(0x5fae5228daa0) # Looks like you failed 2 tests of 2. # Failed test 'Test test_suite_2.5/positive/01-boolean' # at t/01-livr_test_suite.t line 139. # Failed test 'Validator should return validated data' # at t/01-livr_test_suite.t line 30. # Structures begin differing at: # $got->{boolean} = '0' # $expected->{boolean} = 'false' # Looks like you failed 1 test of 2. # Failed test 'Test test_suite_2.5/positive/06-ends_with' # at t/01-livr_test_suite.t line 139. # Failed test 'Validator should contain no errors' # at t/01-livr_test_suite.t line 25. # { # 'got_errors' => { # 'false_when_required' => 'REQUIRED' # }, # 'test_data' => { # 'input' => { # 'a/b' => 'yes', # 'account' => { # 'type' => 'person' # }, # 'address' => { # 'city' => 'Springfield', # 'country' => 'US' # }, # 'address_ua' => { # 'country' => 'UA' # }, # 'a~b' => 'yes', # 'checkbox_one' => '1', # 'company' => { # 'type' => 'person' # }, # 'count' => 1, # 'count_note' => 'x', # 'country' => 'UA', # 'email' => 'user@example.com', # 'email_flag_off_empty' => '', # 'email_flag_off_null' => undef, # 'email_pipeline' => 'user@example.com', # 'empty_ref' => '', # 'extra_field' => 'extra', # 'false_when_required' => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ), # 'first_item_note' => 'note', # 'flag_off' => $VAR1->{'test_data'}{'input'}{'false_when_required'}, # 'items' => [ # { # 'id' => 5 # } # ], # 'key_notes' => { # '' => 1 # }, # 'kind' => 'person', # 'letters' => [ # 'a', # 'b' # ], # 'list_notes' => [ # '', # 'x' # ], # 'list_notes_index' => [ # '', # { # 'type' => 'company' # } # ], # 'list_ref' => [ # 'UA' # ], # 'members' => [ # { # 'type' => 'person' # }, # { # 'type' => 'company', # 'vat' => 'UA12345678' # } # ], # 'nested_no_root' => {}, # 'null_ref' => undef, # 'object_ref' => { # 'a' => '1' # }, # 'partners' => [ # { # 'type' => 'person' # } # ], # 'send_me_emails' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ), # 'slash_note' => 'present', # 'tilde_note' => 'present', # 'type' => 'company', # 'type_mixed_case' => 'Company', # 'type_padded' => ' company ', # 'type_person' => 'person', # 'value_notes' => { # 'a' => '', # 'type' => 'company' # }, # 'vat' => 'UA12345678', # 'zero_when_required' => 0, # 'zip_ua' => '01001' # }, # 'output' => { # 'a/b' => 'yes', # 'account' => { # 'type' => 'person' # }, # 'address' => { # 'country' => 'US' # }, # 'address_ua' => { # 'country' => 'UA' # }, # 'a~b' => 'yes', # 'checkbox_one' => $VAR1->{'test_data'}{'input'}{'send_me_emails'}, # 'company' => { # 'type' => 'person' # }, # 'count' => 1, # 'count_note' => 'x', # 'country' => 'UA', # 'email' => 'user@example.com', # 'email_flag_off_empty' => '', # 'email_flag_off_null' => undef, # 'email_pipeline' => 'user@example.com', # 'empty_ref' => '', # 'false_when_required' => $VAR1->{'test_data'}{'input'}{'false_when_required'}, # 'first_item_note' => 'note', # 'flag_off' => $VAR1->{'test_data'}{'input'}{'false_when_required'}, # 'items' => [ # { # 'id' => 5 # } # ], # 'key_notes' => { # '' => 1 # }, # 'kind' => 'person', # 'letters' => [ # 'a', # 'b' # ], # 'list_notes' => [ # '', # 'x' # ], # 'list_notes_index' => [ # '', # { # 'type' => 'company' # } # ], # 'list_ref' => [ # 'UA' # ], # 'members' => [ # { # 'type' => 'person' # }, # { # 'type' => 'company', # 'vat' => 'UA12345678' # } # ], # 'nested_no_root' => {}, # 'null_ref' => undef, # 'object_ref' => { # 'a' => '1' # }, # 'partners' => [ # { # 'type' => 'person' # } # ], # 'plan' => 'pro', # 'send_me_emails' => $VAR1->{'test_data'}{'input'}{'send_me_emails'}, # 'slash_note' => 'present', # 'tilde_note' => 'present', # 'type' => 'company', # 'type_mixed_case' => 'company', # 'type_padded' => 'company', # 'type_person' => 'person', # 'value_notes' => { # 'a' => '', # 'type' => 'company' # }, # 'vat' => 'UA12345678', # 'zero_when_required' => 0, # 'zip_ua' => '01001' # }, # 'rules' => { # 'a/b' => 'string', # 'account' => { # 'variable_object' => [ # 'type', # { # 'person' => { # 'type' => 'required', # 'vat' => { # 'required_if' => { # 'type' => 'company' # } # } # } # } # ] # }, # 'address' => { # 'nested_object' => { # 'country' => 'required' # } # }, # 'address_ua' => { # 'nested_object' => { # 'country' => 'required' # } # }, # 'a~b' => 'string', # 'checkbox_one' => 'boolean', # 'company' => { # 'nested_object' => { # 'type' => 'required', # 'vat' => { # 'required_if' => { # 'type' => 'company' # } # } # } # }, # 'company_code' => { # 'required_if' => { # 'country' => 'UA', # 'kind' => 'company' # } # }, # 'count' => 'integer', # 'count_decimal_string' => { # 'required_if' => { # 'count' => '1.0' # } # }, # 'count_not_matching' => { # 'required_if' => { # 'count' => [ # 2, # '3' # ] # } # }, # 'count_note' => { # 'required_if' => { # 'count' => '1' # } # }, # 'country' => 'string', # 'email' => { # 'required_if' => { # 'send_me_emails' => $VAR1->{'test_data'}{'input'}{'send_me_emails'} # } # }, # 'email_checkbox_one' => { # 'required_if' => { # 'checkbox_one' => $VAR1->{'test_data'}{'input'}{'send_me_emails'} # } # }, # 'email_flag_off_empty' => { # 'required_if' => { # 'flag_off' => $VAR1->{'test_data'}{'input'}{'send_me_emails'} # } # }, # 'email_flag_off_missing' => { # 'required_if' => { # 'flag_off' => $VAR1->{'test_data'}{'input'}{'send_me_emails'} # } # }, # 'email_flag_off_null' => { # 'required_if' => { # 'flag_off' => $VAR1->{'test_data'}{'input'}{'send_me_emails'} # } # }, # 'email_pipeline' => [ # { # 'required_if' => { # 'send_me_emails' => $VAR1->{'test_data'}{'input'}{'send_me_emails'} # } # }, # 'email' # ], # 'empty_ref' => 'string', # 'false_when_required' => { # 'required_if' => { # 'send_me_emails' => $VAR1->{'test_data'}{'input'}{'send_me_emails'} # } # }, # 'field_empty_ref' => { # 'required_if' => { # 'empty_ref' => [ # 'x', # 'y' # ] # } # }, # 'field_list_ref' => { # 'required_if' => { # 'list_ref' => 'UA' # } # }, # 'field_null_ref' => { # 'required_if' => { # 'null_ref' => [ # 'null', # 'x' # ] # } # }, # 'field_object_ref' => { # 'required_if' => { # 'object_ref' => '[object Object]' # } # }, # 'first_item_note' => { # 'required_if' => { # 'items/0/id' => 5 # } # }, # 'flag_off' => 'boolean', # 'index_decimal_note' => { # 'required_if' => { # 'letters/1.0' => 'b' # } # }, # 'index_double_zero_note' => { # 'required_if' => { # 'letters/00' => 'a' # } # }, # 'index_into_string_note' => { # 'required_if' => { # 'country/0' => 'U' # } # }, # 'index_leading_zero_note' => { # 'required_if' => { # 'letters/01' => 'b' # } # }, # 'index_length_note' => { # 'required_if' => { # 'letters/length' => 2 # } # }, # 'index_negative_note' => { # 'required_if' => { # 'letters/-1' => 'b' # } # }, # 'index_out_of_range_note' => { # 'required_if' => { # 'letters/2' => 'b' # } # }, # 'index_plus_note' => { # 'required_if' => { # 'letters/+1' => 'b' # } # }, # 'index_space_note' => { # 'required_if' => { # 'letters/ 1' => 'b' # } # }, # 'items' => { # 'list_of_objects' => { # 'id' => 'required' # } # }, # 'key_notes' => { # 'keys' => { # 'required_if' => { # 'type' => 'company' # } # } # }, # 'kind' => 'string', # 'letters' => { # 'list_of' => 'string' # }, # 'list_notes' => { # 'list_of' => { # 'required_if' => { # 'type' => 'company' # } # } # }, # 'list_notes_index' => { # 'list_of' => { # 'required_if' => { # '1/type' => 'company' # } # } # }, # 'list_ref' => { # 'list_of' => 'string' # }, # 'members' => { # 'list_of_different_objects' => [ # 'type', # { # 'company' => { # 'type' => 'required', # 'vat' => { # 'required_if' => { # 'type' => 'company' # } # } # }, # 'person' => { # 'type' => 'required', # 'vat' => { # 'required_if' => { # 'type' => 'company' # } # } # } # } # ] # }, # 'missing_ref' => { # 'required_if' => { # 'no_such_field' => 'x' # } # }, # 'nested_no_root' => { # 'nested_object' => { # 'zip' => { # 'required_if' => { # 'country' => 'UA' # } # } # } # }, # 'null_ref' => 'string', # 'object_ref' => { # 'nested_object' => { # 'a' => 'required' # } # }, # 'partners' => { # 'list_of' => { # 'nested_object' => { # 'type' => 'required', # 'vat' => { # 'required_if' => { # 'type' => 'company' # } # } # } # } # }, # 'path_through_missing' => { # 'required_if' => { # 'no_such_field/code' => 'UA' # } # }, # 'path_through_string' => { # 'required_if' => { # 'country/code' => 'UA' # } # }, # 'plan' => { # 'default' => 'pro' # }, # 'plan_note' => { # 'required_if' => { # 'plan' => 'pro' # } # }, # 'second_item_note' => { # 'required_if' => { # 'items/1/id' => 5 # } # }, # 'send_me_emails' => 'boolean', # 'slash_note' => { # 'required_if' => { # 'a~1b' => 'yes' # } # }, # 'tilde_note' => { # 'required_if' => { # 'a~0b' => 'yes' # } # }, # 'type' => 'string', # 'type_mixed_case' => 'to_lc', # 'type_mixed_case_vat' => { # 'required_if' => { # 'type_mixed_case' => 'company' # } # }, # 'type_padded' => 'trim', # 'type_padded_vat' => { # 'required_if' => { # 'type_padded' => 'company' # } # }, # 'type_person' => 'string', # 'value_notes' => { # 'values' => { # 'required_if' => { # 'type' => 'company' # } # } # }, # 'vat' => { # 'required_if' => { # 'type' => [ # 'company', # 'ngo' # ] # } # }, # 'vat_person' => { # 'required_if' => { # 'type_person' => [ # 'company', # 'ngo' # ] # } # }, # 'zero_when_required' => { # 'required_if' => { # 'send_me_emails' => $VAR1->{'test_data'}{'input'}{'send_me_emails'} # } # }, # 'zip' => { # 'required_if' => { # 'address/country' => 'UA' # } # }, # 'zip_ua' => { # 'required_if' => { # 'address_ua/country' => 'UA' # } # } # }, # 'test_name' => '11-required_if' # } # } # Failed test 'Validator should return validated data' # at t/01-livr_test_suite.t line 30. # Structures begin differing at: # $got = undef # $expected = HASH(0x5fae513bbd18) # Looks like you failed 2 tests of 2. # Failed test 'Test test_suite_2.5/positive/11-required_if' # at t/01-livr_test_suite.t line 139. # Failed test 'Validator should contain no errors' # at t/01-livr_test_suite.t line 25. # { # 'got_errors' => { # 'admin_false_case' => 'NOT_ALLOWED_VALUE', # 'email_unsubscribed' => 'REQUIRED' # }, # 'test_data' => { # 'input' => { # 'address' => { # 'country' => 'UA' # }, # 'admin_case' => 'AbC', # 'admin_false_case' => 'AbC', # 'any_false_branch' => 'AbC', # 'any_true_branch' => 'AbC', # 'buyer' => { # 'country' => 'UA', # 'seller_country' => 'PL' # }, # 'buyer_vat' => 'UA12345678', # 'cond_empty_ref' => 'AbC', # 'cond_missing_ref' => 'AbC', # 'cond_null_ref' => 'AbC', # 'contact_both' => { # 'email' => 'user@example.com', # 'fax' => '1', # 'phone' => '+15555550100' # }, # 'contact_email_only' => { # 'email' => 'user@example.com' # }, # 'contact_phone_only' => { # 'phone' => '+15555550100' # }, # 'contact_required_condition' => { # 'phone' => '+15555550100' # }, # 'count_check' => 'abc', # 'count_ref' => '5', # 'customer_type' => 'company', # 'data' => { # 'cvv' => '123', # 'number' => '4111111111111111' # }, # 'data_bank' => { # 'holder' => 'Jane Doe', # 'iban' => 'GB82WEST12345698765432' # }, # 'data_type_missing_empty' => '', # 'different_entries' => [ # { # 'kind' => 'num', # 'value' => '8' # } # ], # 'email_true_string' => 'user@example.com', # 'empty_ref' => '', # 'entries' => [ # { # 'kind' => 'num', # 'value' => '5' # }, # { # 'kind' => 'str', # 'value' => 'abc' # } # ], # 'extra_field' => 'extra', # 'is_admin' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ), # 'is_admin_false' => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ), # 'key_cases' => { # 'a' => 1 # }, # 'kind' => 'str', # 'kind_x' => 'x', # 'level' => -2, # 'level_case' => 'AbC', # 'level_exponent' => '-1000', # 'level_exponent_case' => 'AbC', # 'level_minus_zero' => '0', # 'level_minus_zero_case' => 'AbC', # 'level_one_point_zero' => '-1', # 'level_one_point_zero_case' => 'AbC', # 'list_cases' => [ # 'AbC' # ], # 'list_cases_index' => [ # 'AbC', # 'upper' # ], # 'mode_lower' => 'lower', # 'mode_padded' => ' upper ', # 'mode_padded_case' => 'AbC', # 'mode_upper' => 'upper', # 'nested_no_root' => { # 'v' => 'AbC' # }, # 'newsletter_email' => 'user@example.com', # 'null_ref' => undef, # 'or_when' => 'AbC', # 'or_when_switch' => '5', # 'pay_type' => 'card', # 'pay_type_bank' => 'bank', # 'pay_type_mixed' => 'Card', # 'pay_type_mixed_case' => 'AbC', # 'person_type' => 'person', # 'person_vat_empty' => '', # 'person_vat_null' => undef, # 'pickup_point' => 'Point 1', # 'required_condition' => 'AbC', # 'required_condition_empty_ref' => 'AbC', # 'seller_country' => 'UA', # 'shipments' => [ # { # 'method' => 'pickup' # } # ], # 'subscribe' => '1', # 'subscribe_garbage' => 'yes', # 'subscribe_true_string' => 'true', # 'switch_any_case' => { # 'a' => [ # 1 # ], # 'b' => undef # }, # 'switch_empty_ref_null_value' => undef, # 'switch_eq_empty_empty' => '', # 'switch_missing_ref_empty_value' => '', # 'switch_null_ref_empty_value' => '', # 'switch_object_ref_empty_value' => '', # 'switch_rule_list' => 'abc', # 'switch_unknown_ref_empty_value' => '', # 'switch_unknown_ref_null_value' => undef, # 'three_args_false' => 'abc', # 'three_args_true' => '42', # 'to_lower' => 'AbC', # 'to_upper' => 'AbC', # 'unsubscribed' => '0', # 'value_cases' => { # 'a' => 'AbC', # 'mode_upper' => 'upper' # }, # 'variable_entry' => { # 'kind' => 'num', # 'value' => '7' # }, # 'vat_number' => 'UA12345678', # 'zip' => '01001' # }, # 'output' => { # 'address' => { # 'country' => 'UA' # }, # 'admin_case' => 'ABC', # 'admin_false_case' => 'abc', # 'any_false_branch' => 'AbC', # 'any_true_branch' => 'AbC', # 'buyer' => { # 'country' => 'UA', # 'seller_country' => 'PL' # }, # 'buyer_vat' => 'UA12345678', # 'cond_default' => 10, # 'cond_empty_ref' => 'abc', # 'cond_missing_ref' => 'abc', # 'cond_null_ref' => 'abc', # 'contact_both' => { # 'email' => 'user@example.com', # 'phone' => '+15555550100' # }, # 'contact_email_only' => { # 'email' => 'user@example.com' # }, # 'contact_phone_only' => { # 'phone' => '+15555550100' # }, # 'contact_required_condition' => { # 'phone' => '+15555550100' # }, # 'count_check' => 'ABC', # 'count_ref' => '5', # 'customer_type' => 'company', # 'data' => { # 'number' => '4111111111111111' # }, # 'data_bank' => { # 'iban' => 'GB82WEST12345698765432' # }, # 'data_type_missing_empty' => '', # 'different_entries' => [ # { # 'kind' => 'num', # 'value' => 8 # } # ], # 'email_true_string' => 'user@example.com', # 'entries' => [ # { # 'kind' => 'num', # 'value' => 5 # }, # { # 'kind' => 'str', # 'value' => 'abc' # } # ], # 'key_cases' => { # 'a' => 1 # }, # 'kind' => 'str', # 'level_case' => 'ABC', # 'level_exponent_case' => 'ABC', # 'level_minus_zero_case' => 'ABC', # 'level_one_point_zero_case' => 'abc', # 'list_cases' => [ # 'abc' # ], # 'list_cases_index' => [ # 'abc', # 'upper' # ], # 'mode_padded' => 'upper', # 'mode_padded_case' => 'abc', # 'nested_no_root' => { # 'v' => 'abc' # }, # 'newsletter_email' => 'user@example.com', # 'or_when' => 'ABC', # 'or_when_switch' => 5, # 'pay_type' => 'card', # 'pay_type_bank' => 'bank', # 'pay_type_mixed' => 'card', # 'pay_type_mixed_case' => 'abc', # 'person_type' => 'person', # 'person_vat_empty' => '', # 'person_vat_null' => undef, # 'pickup_point' => 'Point 1', # 'required_condition' => 'ABC', # 'required_condition_empty_ref' => 'abc', # 'seller_country' => 'UA', # 'subscribe' => $VAR1->{'test_data'}{'input'}{'is_admin'}, # 'switch_any_case' => { # 'a' => [ # 1 # ], # 'b' => undef # }, # 'switch_default' => 'dflt', # 'switch_empty_ref_null_value' => undef, # 'switch_eq_empty_empty' => '', # 'switch_missing_ref_empty_value' => '', # 'switch_null_ref_empty_value' => '', # 'switch_object_ref_empty_value' => '', # 'switch_rule_list' => 'ABC', # 'switch_unknown_ref_empty_value' => '', # 'switch_unknown_ref_null_value' => undef, # 'three_args_false' => 'abc', # 'three_args_true' => 42, # 'to_lower' => 'abc', # 'to_upper' => 'ABC', # 'unsubscribed' => $VAR1->{'test_data'}{'input'}{'is_admin_false'}, # 'value_cases' => { # 'a' => 'abc', # 'mode_upper' => 'upper' # }, # 'variable_entry' => { # 'kind' => 'num', # 'value' => 7 # }, # 'vat_number' => 'UA12345678', # 'zip' => '01001' # }, # 'rules' => { # 'address' => { # 'nested_object' => { # 'country' => 'required' # } # }, # 'admin_case' => { # 'when' => [ # 'is_admin', # { # 'false' => 'to_lc', # 'true' => 'to_uc' # } # ] # }, # 'admin_false_case' => { # 'when' => [ # 'is_admin_false', # { # 'false' => 'to_lc', # 'true' => 'to_uc' # } # ] # }, # 'any_false_branch' => { # 'when' => [ # 'mode_lower', # { # 'eq' => 'upper' # }, # 'to_uc', # 'any' # ] # }, # 'any_true_branch' => { # 'when' => [ # 'mode_upper', # { # 'eq' => 'upper' # }, # 'any', # 'to_lc' # ] # }, # 'buyer' => 'any', # 'buyer_vat' => { # 'when' => [ # 'buyer/country', # { # 'equal_to_field' => 'seller_country' # }, # 'required', # { # 'eq' => '' # } # ] # }, # 'cond_default' => { # 'when' => [ # 'kind_x', # { # 'eq' => 'x' # }, # { # 'default' => 10 # } # ] # }, # 'cond_empty_ref' => { # 'when' => [ # 'empty_ref', # 'string', # 'to_uc', # 'to_lc' # ] # }, # 'cond_missing_ref' => { # 'when' => [ # 'no_such_field', # 'string', # 'to_uc', # 'to_lc' # ] # }, # 'cond_null_ref' => { # 'when' => [ # 'null_ref', # 'string', # 'to_uc', # 'to_lc' # ] # }, # 'contact_both' => { # 'nested_object' => { # 'email' => { # 'when' => [ # 'phone', # 'not_empty', # 'email', # [ # 'required', # 'email' # ] # ] # }, # 'phone' => { # 'when' => [ # 'email', # 'not_empty', # 'string', # [ # 'required', # 'string' # ] # ] # } # } # }, # 'contact_email_only' => { # 'nested_object' => { # 'email' => { # 'when' => [ # 'phone', # 'not_empty', # 'email', # [ # 'required', # 'email' # ] # ] # }, # 'phone' => { # 'when' => [ # 'email', # 'not_empty', # 'string', # [ # 'required', # 'string' # ] # ] # } # } # }, # 'contact_phone_only' => { # 'nested_object' => { # 'email' => { # 'when' => [ # 'phone', # 'not_empty', # 'email', # [ # 'required', # 'email' # ] # ] # }, # 'phone' => { # 'when' => [ # 'email', # 'not_empty', # 'string', # [ # 'required', # 'string' # ] # ] # } # } # }, # 'contact_required_condition' => { # 'nested_object' => { # 'email' => { # 'when' => [ # 'phone', # 'required', # 'email', # [ # 'required', # 'email' # ] # ] # }, # 'phone' => { # 'when' => [ # 'email', # 'required', # 'string', # [ # 'required', # 'string' # ] # ] # } # } # }, # 'count_check' => { # 'when' => [ # 'count_ref', # 'positive_integer', # 'to_uc' # ] # }, # 'count_ref' => 'string', # 'customer_type' => 'string', # 'data' => [ # 'required', # { # 'when' => [ # 'pay_type', # { # 'bank' => { # 'nested_object' => { # 'iban' => [ # 'required', # 'iban' # ] # } # }, # 'card' => { # 'nested_object' => { # 'number' => [ # 'required', # 'credit_card' # ] # } # } # } # ] # } # ], # 'data_bank' => [ # 'required', # { # 'when' => [ # 'pay_type_bank', # { # 'bank' => { # 'nested_object' => { # 'iban' => [ # 'required', # 'iban' # ] # } # }, # 'card' => { # 'nested_object' => { # 'number' => [ # 'required', # 'credit_card' # ] # } # } # } # ] # } # ], # 'data_type_missing_empty' => { # 'when' => [ # 'no_such_type', # { # 'bank' => { # 'nested_object' => { # 'iban' => [ # 'required', # 'iban' # ] # } # }, # 'card' => { ... ash' => 'iban', # 'value_is_hash' => 'iban', # 'wrong_check_digits' => [ # 'iban' # ], # 'wrong_checksum' => 'iban' # }, # 'test_name' => '34-iban' # } # } # Looks like you failed 1 test of 2. # Failed test 'Test test_suite_2.5/negative/34-iban' # at t/01-livr_test_suite.t line 139. # Looks like you failed 28 tests of 331. t/01-livr_test_suite.t ..... Dubious, test returned 28 (wstat 7168, 0x1c00) Failed 28/331 subtests t/02-rules_registration.t .. ok t/03-auto_trim.t ........... ok t/04-custom_filters.t ...... ok t/05-rules_replacement.t ... ok t/06-custom_aliases.t ...... ok t/07-wrong_rules.t ......... ok t/08-email_and_url.t ....... ok t/09-like.t ................ ok # Failed test '{"eq":"false"} with false passes' # at t/10-livr_2.5.t line 198. # got: 'false' # expected: '"false"' # Failed test '{"one_of":["true","false"]} with false passes' # at t/10-livr_2.5.t line 198. # got: 'false' # expected: '"false"' # Failed test '{"one_of":["x",0]} with false passes' # at t/10-livr_2.5.t line 198. # got: 'false' # expected: '0' # Failed test '{"one_of":["x","0"]} with false passes' # at t/10-livr_2.5.t line 198. # got: 'false' # expected: '"0"' # Failed test '{"eq":true} with false fails' # at t/10-livr_2.5.t line 226. # Failed test '{"eq":true} with false gives NOT_ALLOWED_VALUE' # at t/10-livr_2.5.t line 227. # Structures begin differing at: # $got = undef # $expected = HASH(0x5d3d7b470ac0) # Failed test '{"eq":true} with "True" fails' # at t/10-livr_2.5.t line 226. # Failed test '{"eq":true} with "True" gives NOT_ALLOWED_VALUE' # at t/10-livr_2.5.t line 227. # Structures begin differing at: # $got = undef # $expected = HASH(0x5d3d7b439808) # Failed test '{"eq":true} with "yes" fails' # at t/10-livr_2.5.t line 226. # Failed test '{"eq":true} with "yes" gives NOT_ALLOWED_VALUE' # at t/10-livr_2.5.t line 227. # Structures begin differing at: # $got = undef # $expected = HASH(0x5d3d7b472e10) # Failed test '{"eq":"0"} with false fails' # at t/10-livr_2.5.t line 226. # Failed test '{"eq":"0"} with false gives NOT_ALLOWED_VALUE' # at t/10-livr_2.5.t line 227. # Structures begin differing at: # $got = undef # $expected = HASH(0x5d3d7b46c900) # Failed test '{"one_of":["x",1]} with false fails' # at t/10-livr_2.5.t line 226. # Failed test '{"one_of":["x",1]} with false gives NOT_ALLOWED_VALUE' # at t/10-livr_2.5.t line 227. # Structures begin differing at: # $got = undef # $expected = HASH(0x5d3d7b472ed0) # Looks like you failed 14 tests of 49. # Failed test '"eq" and "one_of" compare booleans as strings and output the value of the rule' # at t/10-livr_2.5.t line 229. # Looks like you failed 1 test of 15. t/10-livr_2.5.t ............ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/15 subtests Test Summary Report ------------------- t/01-livr_test_suite.t (Wstat: 7168 (exited 28) Tests: 331 Failed: 28) Failed tests: 71, 76, 81-82, 107, 110, 112-117, 124-139 Non-zero exit status: 28 t/10-livr_2.5.t (Wstat: 256 (exited 1) Tests: 15 Failed: 1) Failed test: 9 Non-zero exit status: 1 Files=10, Tests=378, 10 wallclock secs ( 0.38 usr 0.09 sys + 9.26 cusr 1.03 csys = 10.76 CPU) Result: FAIL Failed 2/10 test programs. 29/378 subtests failed. make: *** [Makefile:882: test_dynamic] Error 1 cover: Reading database from /home/cpancover/.cpan/build/Validator-LIVR-2.21-0/cover_db cover: Added 12 file(s) from --select_dir cover: JSON output written to /home/cpancover/.cpan/build/Validator-LIVR-2.21-0/cover_db/cover.json ================================================================================ **** Checking coverage of Validator-LIVR-2.21 **** Testing Validator-LIVR-2.21 in /home/cpancover/.cpan/build/Validator-LIVR-2.21-0 dc -> /usr/local/bin/perl /dc/bin/cover --test --report json_summary --nosummary --select_dir blib ================================================================================ Successfully copied 1.83MB to /remote_staging/pjcj-cpancover_dev-K-KO-KOORCHIK-Validator-LIVR-2.21.tar.gz--1794126847.670664-1794126847-698812696 Successfully copied 1.03MB (transferred 1.83MB) to pjcj-cpancover_dev-pjcj-cpancover_dev-K-KO-KOORCHIK-Validator-LIVR-2.21.tar.gz--1794126847.670664-1794126847-698812696-render-1794126893-729167041:/home/cpancover/input cover: Reading database from /home/cpancover/.cpan/build/Validator-LIVR-2.21-0/cover_db cover: Added 12 file(s) from --select_dir Common prefix: blib/lib/Validator/ --------------------- ------ ------ ------ ------ ------ ------ ------ ------ File stmt bran cond mcdc sub pod total scar --------------------- ------ ------ ------ ------ ------ ------ ------ ------ LIVR.pm 98.4 86.7 65.6 33.3 97.1 100.0 89.5 17.4 ...ules/Collection.pm 100.0 97.0 94.5 88.6 100.0 0.0 95.3 24.1 LIVR/Rules/Common.pm 100.0 100.0 100.0 100.0 100.0 0.0 94.2 11.3 ...les/Conditional.pm 100.0 97.1 100.0 100.0 100.0 0.0 97.9 19.4 .../Rules/DateTime.pm 100.0 97.9 90.0 83.7 100.0 0.0 94.3 24.5 LIVR/Rules/Format.pm 100.0 98.9 85.0 78.7 100.0 0.0 91.9 14.5 LIVR/Rules/Meta.pm 100.0 92.8 77.7 62.5 100.0 0.0 90.5 17.9 ...Rules/Modifiers.pm 100.0 100.0 75.7 52.9 100.0 0.0 82.9 11.5 LIVR/Rules/Numeric.pm 100.0 98.2 74.3 62.5 100.0 0.0 87.0 18.1 LIVR/Rules/Special.pm 100.0 100.0 91.6 86.3 100.0 0.0 93.6 20.2 LIVR/Rules/String.pm 100.0 96.0 95.2 92.3 100.0 0.0 94.5 18.5 LIVR/Rules/Types.pm 96.0 90.1 93.2 91.4 100.0 0.0 90.8 19.6 Total 99.2 95.4 88.2 80.3 99.5 12.5 92.3 19.9 --------------------- ------ ------ ------ ------ ------ ------ ------ ------ cover: HTML output written to /home/cpancover/output/index.html cover: Reading database from /home/cpancover/.cpan/build/Validator-LIVR-2.21-0/cover_db cover: JSON output written to /home/cpancover/output/cover.json Successfully copied 1.76MB to /remote_staging/pjcj-cpancover_dev-K-KO-KOORCHIK-Validator-LIVR-2.21.tar.gz--1794126847.670664-1794126847-698812696/render