PATH=C:\PlatSDK\Bin\Win64\x86\AMD64;C:\PlatSDK\Bin;C:\PlatSDK\Bin\WinNT;C:\Perl64-5.14\site\bin;C:\Perl64-5.14\bin;C:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Perforce;C:\instantclient_11_2;C:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Perforce;C:\mysql\bin Start 2012-11-22T02:10:58 ActivePerl-1400 CPAN-1.9402 LIB=C:\PlatSDK\Lib\AMD64;C:\PlatSDK\Lib\AMD64\atlmfc INCLUDE=C:\PlatSDK\Include;C:\PlatSDK\Include\crt;C:\PlatSDK\Include\crt\sys;C:\PlatSDK\Include\mfc;C:\PlatSDK\Include\atl PATH=C:/CPANFL~1.14/var/libs/bin;C:\PlatSDK\Bin\Win64\x86\AMD64;C:\PlatSDK\Bin;C:\PlatSDK\Bin\WinNT;C:\Perl64-5.14\site\bin;C:\Perl64-5.14\bin;C:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WINDOW~1\v1.0;C:\PROGRA~2\Perforce;C:\INSTAN~1;C:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WINDOW~1\v1.0;C:\PROGRA~2\Perforce;C:\mysql\bin Going to read 'C:\cpanfly-5.14\var\cpan\Metadata' Database was generated on Thu, 22 Nov 2012 09:07:03 GMT Running make for S/SH/SHARYANTO/Data-Sah-0.09.tar.gz Fetching with LWP: http://cpan.nas.activestate.com/authors/id/S/SH/SHARYANTO/Data-Sah-0.09.tar.gz Fetching with LWP: http://cpan.nas.activestate.com/authors/id/S/SH/SHARYANTO/CHECKSUMS Checksum for C:\cpanfly-5.14\var\cpan\sources\authors\id\S\SH\SHARYANTO\Data-Sah-0.09.tar.gz ok Data-Sah-0.09/ Data-Sah-0.09/README Data-Sah-0.09/Build.PL Data-Sah-0.09/lib/ Data-Sah-0.09/lib/Data/ Data-Sah-0.09/lib/Data/Sah/ Data-Sah-0.09/lib/Data/Sah/Lang/ Data-Sah-0.09/lib/Data/Sah/Lang/fr_FR.pm Data-Sah-0.09/lib/Data/Sah/Lang/id_ID.pm Data-Sah-0.09/lib/Data/Sah/Type/ Data-Sah-0.09/lib/Data/Sah/Type/undef.pm Data-Sah-0.09/lib/Data/Sah/Type/hash.pm Data-Sah-0.09/lib/Data/Sah/Type/re.pm Data-Sah-0.09/lib/Data/Sah/Type/any.pm Data-Sah-0.09/lib/Data/Sah/Type/code.pm Data-Sah-0.09/lib/Data/Sah/Type/bool.pm Data-Sah-0.09/lib/Data/Sah/Type/all.pm Data-Sah-0.09/lib/Data/Sah/Type/num.pm Data-Sah-0.09/lib/Data/Sah/Type/Comparable.pm Data-Sah-0.09/lib/Data/Sah/Type/array.pm Data-Sah-0.09/lib/Data/Sah/Type/Sortable.pm Data-Sah-0.09/lib/Data/Sah/Type/BaseType.pm Data-Sah-0.09/lib/Data/Sah/Type/str.pm Data-Sah-0.09/lib/Data/Sah/Type/obj.pm Data-Sah-0.09/lib/Data/Sah/Type/buf.pm Data-Sah-0.09/lib/Data/Sah/Type/HasElems.pm Data-Sah-0.09/lib/Data/Sah/Type/float.pm Data-Sah-0.09/lib/Data/Sah/Type/int.pm Data-Sah-0.09/lib/Data/Sah/Compiler.pm Data-Sah-0.09/lib/Data/Sah/Manual/ Data-Sah-0.09/lib/Data/Sah/Manual/Extending.pod Data-Sah-0.09/lib/Data/Sah/Schema/ Data-Sah-0.09/lib/Data/Sah/Schema/Common.pm Data-Sah-0.09/lib/Data/Sah/Schema/sah.pm Data-Sah-0.09/lib/Data/Sah/Util/ Data-Sah-0.09/lib/Data/Sah/Util/Role.pm Data-Sah-0.09/lib/Data/Sah/Util/Func.pm Data-Sah-0.09/lib/Data/Sah/Util/TypeX.pm Data-Sah-0.09/lib/Data/Sah/Compiler/ Data-Sah-0.09/lib/Data/Sah/Compiler/human/ Data-Sah-0.09/lib/Data/Sah/Compiler/human/TH/ Data-Sah-0.09/lib/Data/Sah/Compiler/human/TH/num.pm Data-Sah-0.09/lib/Data/Sah/Compiler/human/TH/int.pm Data-Sah-0.09/lib/Data/Sah/Compiler/human/TH.pm Data-Sah-0.09/lib/Data/Sah/Compiler/human.pm Data-Sah-0.09/lib/Data/Sah/Compiler/perl.pm Data-Sah-0.09/lib/Data/Sah/Compiler/Prog/ Data-Sah-0.09/lib/Data/Sah/Compiler/Prog/TH.pm Data-Sah-0.09/lib/Data/Sah/Compiler/Prog.pm Data-Sah-0.09/lib/Data/Sah/Compiler/perl/ Data-Sah-0.09/lib/Data/Sah/Compiler/perl/TH/ Data-Sah-0.09/lib/Data/Sah/Compiler/perl/TH/hash.pm Data-Sah-0.09/lib/Data/Sah/Compiler/perl/TH/re.pm Data-Sah-0.09/lib/Data/Sah/Compiler/perl/TH/any.pm Data-Sah-0.09/lib/Data/Sah/Compiler/perl/TH/code.pm Data-Sah-0.09/lib/Data/Sah/Compiler/perl/TH/bool.pm Data-Sah-0.09/lib/Data/Sah/Compiler/perl/TH/all.pm Data-Sah-0.09/lib/Data/Sah/Compiler/perl/TH/num.pm Data-Sah-0.09/lib/Data/Sah/Compiler/perl/TH/array.pm Data-Sah-0.09/lib/Data/Sah/Compiler/perl/TH/str.pm Data-Sah-0.09/lib/Data/Sah/Compiler/perl/TH/obj.pm Data-Sah-0.09/lib/Data/Sah/Compiler/perl/TH/float.pm Data-Sah-0.09/lib/Data/Sah/Compiler/perl/TH/int.pm Data-Sah-0.09/lib/Data/Sah/Compiler/perl/TH.pm Data-Sah-0.09/lib/Data/Sah/Compiler/TH.pm Data-Sah-0.09/lib/Data/Sah/Compiler/TextResultRole.pm Data-Sah-0.09/lib/Data/Sah/Lang.pm Data-Sah-0.09/lib/Data/Sah.pm Data-Sah-0.09/MANIFEST.SKIP Data-Sah-0.09/Changes Data-Sah-0.09/dist.ini Data-Sah-0.09/LICENSE Data-Sah-0.09/t/ Data-Sah-0.09/t/00-compile.t Data-Sah-0.09/t/01-basics.t Data-Sah-0.09/t/perl-type-re.t Data-Sah-0.09/t/spectest-perl.t Data-Sah-0.09/t/release-pod-coverage.t Data-Sah-0.09/t/perl-type-obj.t Data-Sah-0.09/t/release-pod-syntax.t Data-Sah-0.09/t/perl-type-code.t Data-Sah-0.09/t/perl-type-str.t Data-Sah-0.09/t/perl-type-float.t Data-Sah-0.09/t/release-rinci.t Data-Sah-0.09/t/perl-type-bool.t Data-Sah-0.09/MANIFEST Data-Sah-0.09/META.json Data-Sah-0.09/META.yml CPAN.pm: Going to build S/SH/SHARYANTO/Data-Sah-0.09.tar.gz >>> C:\Perl64-5.14\bin\perl.exe Build.PL Checking prerequisites... build_requires: ! File::ShareDir::Tarball is not installed ! Sah (0.9.0) is installed, but we need version >= v0.9.19 ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Data-Sah' version '0.09' ---- Unsatisfied dependencies detected during ---- ---- SHARYANTO/Data-Sah-0.09.tar.gz ---- File::ShareDir::Tarball [build_requires] Sah [build_requires] Running Build test Delayed until after prerequisites Running test for module 'File::ShareDir::Tarball' Running make for Y/YA/YANICK/File-ShareDir-Tarball-0.2.1.tar.gz Checksum for C:\cpanfly-5.14\var\cpan\sources\authors\id\Y\YA\YANICK\File-ShareDir-Tarball-0.2.1.tar.gz ok File-ShareDir-Tarball-0.2.1/ File-ShareDir-Tarball-0.2.1/xt/ File-ShareDir-Tarball-0.2.1/xt/release/ File-ShareDir-Tarball-0.2.1/xt/release/unused-vars.t File-ShareDir-Tarball-0.2.1/AUTHOR_PLEDGE File-ShareDir-Tarball-0.2.1/lib/ File-ShareDir-Tarball-0.2.1/lib/File/ File-ShareDir-Tarball-0.2.1/lib/File/ShareDir/ File-ShareDir-Tarball-0.2.1/lib/File/ShareDir/Tarball.pm File-ShareDir-Tarball-0.2.1/MANIFEST File-ShareDir-Tarball-0.2.1/Changes File-ShareDir-Tarball-0.2.1/LICENSE File-ShareDir-Tarball-0.2.1/README.mkdn File-ShareDir-Tarball-0.2.1/Build.PL File-ShareDir-Tarball-0.2.1/SIGNATURE File-ShareDir-Tarball-0.2.1/INSTALL File-ShareDir-Tarball-0.2.1/META.json File-ShareDir-Tarball-0.2.1/META.yml File-ShareDir-Tarball-0.2.1/t/ File-ShareDir-Tarball-0.2.1/t/000-report-versions.t File-ShareDir-Tarball-0.2.1/t/share_non_bundle/ File-ShareDir-Tarball-0.2.1/t/share_non_bundle/foo File-ShareDir-Tarball-0.2.1/t/share/ File-ShareDir-Tarball-0.2.1/t/share/shared-files.tar.gz File-ShareDir-Tarball-0.2.1/t/basic.t File-ShareDir-Tarball-0.2.1/t/00-compile.t File-ShareDir-Tarball-0.2.1/README CPAN.pm: Going to build Y/YA/YANICK/File-ShareDir-Tarball-0.2.1.tar.gz >>> C:\Perl64-5.14\bin\perl.exe Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'File-ShareDir-Tarball' version '0.2.1' >>> C:\Perl64-5.14\bin\perl.exe ./Build Building File-ShareDir-Tarball YANICK/File-ShareDir-Tarball-0.2.1.tar.gz C:\Perl64-5.14\bin\perl.exe ./Build -- OK Running Build test >>> C:\Perl64-5.14\bin\perl.exe ./Build test verbose=1 t/00-compile.t ........... 1..1 ok 1 - File::ShareDir::Tarball loaded ok ok # Testing with Perl 5.014000, C:\Perl64-5.14\bin\perl.exe # Archive::Tar version is 1.88 # Carp version is 1.26 # Exporter version is 5.66 # File::Find version is 1.19 # File::ShareDir version is 1.03 # File::Temp version is 0.22 # File::chdir version is 0.1006 # Module::Build version is 0.4002 # Scalar::Util version is 1.25 # Test::File::ShareDir version is 0.3.1 # Test::More version is 0.98 # parent version is 0.225 # strict version is 1.04 # warnings version is 1.12 t/000-report-versions.t .. ok 1 - require Archive::Tar; ok 2 - require Carp; ok 3 - require Exporter; ok 4 - require File::Find; ok 5 - require File::ShareDir; ok 6 - require File::Temp; ok 7 - require File::chdir; ok 8 - require Module::Build; ok 9 - require Scalar::Util; ok 10 - require Test::File::ShareDir; ok 11 - require Test::More; ok 12 - require parent; ok 13 - require strict; ok 14 - require warnings; 1..14 ok t/basic.t ................ 1..4 ok 1 - foo ok 2 - bar ok 3 - reuse same directory ok 4 - no bundle? no problem ok All tests successful. Files=3, Tests=19, 1 wallclock secs ( 0.06 usr + 0.00 sys = 0.06 CPU) Result: PASS YANICK/File-ShareDir-Tarball-0.2.1.tar.gz C:\Perl64-5.14\bin\perl.exe ./Build test verbose=1 -- OK PPD for File-ShareDir-Tarball-0.2.1 already made Running test for module 'Sah' Running make for S/SH/SHARYANTO/Sah-0.9.19.tar.gz Prepending C:\cpanfly-5.14\var\cpan\build\File-ShareDir-Tarball-0.2.1-0kTgLW/blib/arch C:\cpanfly-5.14\var\cpan\build\File-ShareDir-Tarball-0.2.1-0kTgLW/blib/lib to PERL5LIB for 'get' Fetching with LWP: http://cpan.nas.activestate.com/authors/id/S/SH/SHARYANTO/Sah-0.9.19.tar.gz Checksum for C:\cpanfly-5.14\var\cpan\sources\authors\id\S\SH\SHARYANTO\Sah-0.9.19.tar.gz ok Sah-0.9.19/ Sah-0.9.19/lib/ Sah-0.9.19/lib/Sah/ Sah-0.9.19/lib/Sah/Type.pod Sah-0.9.19/lib/Sah/Examples.pod Sah-0.9.19/lib/Sah/FAQ.pod Sah-0.9.19/lib/Sah.pod Sah-0.9.19/lib/Sah.pm Sah-0.9.19/t/ Sah-0.9.19/t/00-compile.t Sah-0.9.19/t/release-rinci.t Sah-0.9.19/MANIFEST Sah-0.9.19/META.yml Sah-0.9.19/weaver.ini Sah-0.9.19/dist.ini Sah-0.9.19/META.json Sah-0.9.19/Changes Sah-0.9.19/Build.PL Sah-0.9.19/LICENSE Sah-0.9.19/MANIFEST.SKIP Sah-0.9.19/share/ Sah-0.9.19/share/shared-files.tar.gz Sah-0.9.19/devscripts/ Sah-0.9.19/devscripts/gen-type-spectest Sah-0.9.19/README Prepending C:\cpanfly-5.14\var\cpan\build\File-ShareDir-Tarball-0.2.1-0kTgLW/blib/arch C:\cpanfly-5.14\var\cpan\build\File-ShareDir-Tarball-0.2.1-0kTgLW/blib/lib to PERL5LIB for 'make' CPAN.pm: Going to build S/SH/SHARYANTO/Sah-0.9.19.tar.gz >>> C:\Perl64-5.14\bin\perl.exe Build.PL Checking prerequisites... requires: ! DefHash is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Sah' version '0.9.19' ---- Unsatisfied dependencies detected during ---- ---- SHARYANTO/Sah-0.9.19.tar.gz ---- DefHash [requires] Prepending C:\cpanfly-5.14\var\cpan\build\File-ShareDir-Tarball-0.2.1-0kTgLW/blib/arch C:\cpanfly-5.14\var\cpan\build\File-ShareDir-Tarball-0.2.1-0kTgLW/blib/lib to PERL5LIB for 'test' Running Build test Delayed until after prerequisites Running test for module 'DefHash' Running make for S/SH/SHARYANTO/DefHash-1.0.2.tar.gz Prepending C:\cpanfly-5.14\var\cpan\build\File-ShareDir-Tarball-0.2.1-0kTgLW/blib/arch C:\cpanfly-5.14\var\cpan\build\File-ShareDir-Tarball-0.2.1-0kTgLW/blib/lib to PERL5LIB for 'get' Checksum for C:\cpanfly-5.14\var\cpan\sources\authors\id\S\SH\SHARYANTO\DefHash-1.0.2.tar.gz ok DefHash-1.0.2/ DefHash-1.0.2/lib/ DefHash-1.0.2/lib/DefHash.pm DefHash-1.0.2/lib/DefHash.pod DefHash-1.0.2/t/ DefHash-1.0.2/t/00-compile.t DefHash-1.0.2/t/release-rinci.t DefHash-1.0.2/t/release-pod-syntax.t DefHash-1.0.2/t/release-pod-coverage.t DefHash-1.0.2/MANIFEST DefHash-1.0.2/META.yml DefHash-1.0.2/dist.ini DefHash-1.0.2/META.json DefHash-1.0.2/Changes DefHash-1.0.2/Build.PL DefHash-1.0.2/LICENSE DefHash-1.0.2/MANIFEST.SKIP DefHash-1.0.2/README Prepending C:\cpanfly-5.14\var\cpan\build\File-ShareDir-Tarball-0.2.1-0kTgLW/blib/arch C:\cpanfly-5.14\var\cpan\build\File-ShareDir-Tarball-0.2.1-0kTgLW/blib/lib to PERL5LIB for 'make' CPAN.pm: Going to build S/SH/SHARYANTO/DefHash-1.0.2.tar.gz >>> C:\Perl64-5.14\bin\perl.exe Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'DefHash' version '1.0.2' >>> C:\Perl64-5.14\bin\perl.exe ./Build Building DefHash SHARYANTO/DefHash-1.0.2.tar.gz C:\Perl64-5.14\bin\perl.exe ./Build -- OK Prepending C:\cpanfly-5.14\var\cpan\build\File-ShareDir-Tarball-0.2.1-0kTgLW/blib/arch C:\cpanfly-5.14\var\cpan\build\File-ShareDir-Tarball-0.2.1-0kTgLW/blib/lib to PERL5LIB for 'test' Running Build test >>> C:\Perl64-5.14\bin\perl.exe ./Build test verbose=1 t/00-compile.t ............ 1..1 ok 1 - DefHash loaded ok ok t/release-pod-coverage.t .. skipped: these tests are for release candidate testing t/release-pod-syntax.t .... skipped: these tests are for release candidate testing t/release-rinci.t ......... skipped: these tests are for release candidate testing All tests successful. Files=4, Tests=1, 0 wallclock secs ( 0.03 usr + 0.05 sys = 0.08 CPU) Result: PASS SHARYANTO/DefHash-1.0.2.tar.gz C:\Perl64-5.14\bin\perl.exe ./Build test verbose=1 -- OK PPD for DefHash-1.0.2 already made Running Build for S/SH/SHARYANTO/Sah-0.9.19.tar.gz Prepending C:\cpanfly-5.14\var\cpan\build\DefHash-1.0.2-VARShP/blib/arch C:\cpanfly-5.14\var\cpan\build\DefHash-1.0.2-VARShP/blib/lib C:\cpanfly-5.14\var\cpan\build\File-ShareDir-Tarball-0.2.1-0kTgLW/blib/arch C:\cpanfly-5.14\var\cpan\build\File-ShareDir-Tarball-0.2.1-0kTgLW/blib/lib to PERL5LIB for 'get' Has already been unwrapped into directory C:\cpanfly-5.14\var\cpan\build\Sah-0.9.19-6e3W48 Prepending C:\cpanfly-5.14\var\cpan\build\DefHash-1.0.2-VARShP/blib/arch C:\cpanfly-5.14\var\cpan\build\DefHash-1.0.2-VARShP/blib/lib C:\cpanfly-5.14\var\cpan\build\File-ShareDir-Tarball-0.2.1-0kTgLW/blib/arch C:\cpanfly-5.14\var\cpan\build\File-ShareDir-Tarball-0.2.1-0kTgLW/blib/lib to PERL5LIB for 'make' CPAN.pm: Going to build S/SH/SHARYANTO/Sah-0.9.19.tar.gz >>> C:\Perl64-5.14\bin\perl.exe ./Build Building Sah SHARYANTO/Sah-0.9.19.tar.gz C:\Perl64-5.14\bin\perl.exe ./Build -- OK Prepending C:\cpanfly-5.14\var\cpan\build\DefHash-1.0.2-VARShP/blib/arch C:\cpanfly-5.14\var\cpan\build\DefHash-1.0.2-VARShP/blib/lib C:\cpanfly-5.14\var\cpan\build\File-ShareDir-Tarball-0.2.1-0kTgLW/blib/arch C:\cpanfly-5.14\var\cpan\build\File-ShareDir-Tarball-0.2.1-0kTgLW/blib/lib to PERL5LIB for 'test' Running Build test >>> C:\Perl64-5.14\bin\perl.exe ./Build test verbose=1 t/00-compile.t ..... 1..1 ok 1 - Sah loaded ok ok t/release-rinci.t .. skipped: these tests are for release candidate testing All tests successful. Files=2, Tests=1, 0 wallclock secs ( 0.03 usr + 0.02 sys = 0.05 CPU) Result: PASS SHARYANTO/Sah-0.9.19.tar.gz C:\Perl64-5.14\bin\perl.exe ./Build test verbose=1 -- OK Steven Haryanto <stevenharyanto@gmail.com> Schema for data structures (specification) >>> (cd C:\cpanfly-5.14\var\cpan\build\Sah-0.9.19-6e3W48 && tar cvf - Sah-0.9.19.ppd blib) | gzip -c >C:/cpanfly-5.14/var/REPO/S/SH/SHARYANTO/Sah-0.9.19.tar.gz Sah-0.9.19.ppd blib/ blib/lib/ blib/lib/auto/ blib/lib/auto/share/ blib/lib/auto/share/dist/ blib/lib/auto/share/dist/Sah/ blib/lib/auto/share/dist/Sah/shared-files.tar.gz blib/lib/Sah/ blib/lib/Sah/Examples.pod blib/lib/Sah/FAQ.pod blib/lib/Sah/Type.pod blib/lib/Sah.pm blib/lib/Sah.pod >>> mv C:\cpanfly-5.14\var\cpan\build\Sah-0.9.19-6e3W48/Sah-0.9.19.ppd C:/cpanfly-5.14/var/REPO/S/SH/SHARYANTO Megalib: install_driver(SQLite) failed: DBD::SQLite object version 1.31 does not match bootstrap parameter 1.33 at C:/Perl64-5.14/lib/DynaLoader.pm line 214. Compilation failed in require at (eval 305) line 3. at C:\cpanfly-5.14\lib/ActivePerl/PPM/InstallArea.pm line 700 ...propagated at C:\cpanfly-5.14\lib/ActivePerl/PPM/DBH.pm line 11. Compilation failed in require at C:\cpanfly-5.14\lib/Fly/MakePPD.pm line 285. Running Build for S/SH/SHARYANTO/Data-Sah-0.09.tar.gz Prepending C:\cpanfly-5.14\var\cpan\build\Sah-0.9.19-6e3W48/blib/arch C:\cpanfly-5.14\var\cpan\build\Sah-0.9.19-6e3W48/blib/lib C:\cpanfly-5.14\var\cpan\build\DefHash-1.0.2-VARShP/blib/arch C:\cpanfly-5.14\var\cpan\build\DefHash-1.0.2-VARShP/blib/lib C:\cpanfly-5.14\var\cpan\build\File-ShareDir-Tarball-0.2.1-0kTgLW/blib/arch C:\cpanfly-5.14\var\cpan\build\File-ShareDir-Tarball-0.2.1-0kTgLW/blib/lib to PERL5LIB for 'get' Has already been unwrapped into directory C:\cpanfly-5.14\var\cpan\build\Data-Sah-0.09-TIfpqG Prepending C:\cpanfly-5.14\var\cpan\build\Sah-0.9.19-6e3W48/blib/arch C:\cpanfly-5.14\var\cpan\build\Sah-0.9.19-6e3W48/blib/lib C:\cpanfly-5.14\var\cpan\build\DefHash-1.0.2-VARShP/blib/arch C:\cpanfly-5.14\var\cpan\build\DefHash-1.0.2-VARShP/blib/lib C:\cpanfly-5.14\var\cpan\build\File-ShareDir-Tarball-0.2.1-0kTgLW/blib/arch C:\cpanfly-5.14\var\cpan\build\File-ShareDir-Tarball-0.2.1-0kTgLW/blib/lib to PERL5LIB for 'make' CPAN.pm: Going to build S/SH/SHARYANTO/Data-Sah-0.09.tar.gz >>> C:\Perl64-5.14\bin\perl.exe ./Build Building Data-Sah SHARYANTO/Data-Sah-0.09.tar.gz C:\Perl64-5.14\bin\perl.exe ./Build -- OK Prepending C:\cpanfly-5.14\var\cpan\build\Sah-0.9.19-6e3W48/blib/arch C:\cpanfly-5.14\var\cpan\build\Sah-0.9.19-6e3W48/blib/lib C:\cpanfly-5.14\var\cpan\build\DefHash-1.0.2-VARShP/blib/arch C:\cpanfly-5.14\var\cpan\build\DefHash-1.0.2-VARShP/blib/lib C:\cpanfly-5.14\var\cpan\build\File-ShareDir-Tarball-0.2.1-0kTgLW/blib/arch C:\cpanfly-5.14\var\cpan\build\File-ShareDir-Tarball-0.2.1-0kTgLW/blib/lib to PERL5LIB for 'test' Running Build test >>> C:\Perl64-5.14\bin\perl.exe ./Build test verbose=1 t/00-compile.t ............ 1..50 ok 1 - Data::Sah loaded ok ok 2 - Data::Sah::Compiler loaded ok ok 3 - Data::Sah::Compiler::Prog loaded ok ok 4 - Data::Sah::Compiler::Prog::TH loaded ok ok 5 - Data::Sah::Compiler::TH loaded ok ok 6 - Data::Sah::Compiler::TextResultRole loaded ok ok 7 - Data::Sah::Compiler::human loaded ok ok 8 - Data::Sah::Compiler::human::TH loaded ok ok 9 - Data::Sah::Compiler::human::TH::int loaded ok ok 10 - Data::Sah::Compiler::human::TH::num loaded ok ok 11 - Data::Sah::Compiler::perl loaded ok ok 12 - Data::Sah::Compiler::perl::TH loaded ok ok 13 - Data::Sah::Compiler::perl::TH::all loaded ok ok 14 - Data::Sah::Compiler::perl::TH::any loaded ok ok 15 - Data::Sah::Compiler::perl::TH::array loaded ok ok 16 - Data::Sah::Compiler::perl::TH::bool loaded ok ok 17 - Data::Sah::Compiler::perl::TH::code loaded ok ok 18 - Data::Sah::Compiler::perl::TH::float loaded ok ok 19 - Data::Sah::Compiler::perl::TH::hash loaded ok ok 20 - Data::Sah::Compiler::perl::TH::int loaded ok ok 21 - Data::Sah::Compiler::perl::TH::num loaded ok ok 22 - Data::Sah::Compiler::perl::TH::obj loaded ok ok 23 - Data::Sah::Compiler::perl::TH::re loaded ok ok 24 - Data::Sah::Compiler::perl::TH::str loaded ok ok 25 - Data::Sah::Lang loaded ok ok 26 - Data::Sah::Lang::fr_FR loaded ok ok 27 - Data::Sah::Lang::id_ID loaded ok ok 28 - Data::Sah::Schema::Common loaded ok ok 29 - Data::Sah::Schema::sah loaded ok ok 30 - Data::Sah::Type::BaseType loaded ok ok 31 - Data::Sah::Type::Comparable loaded ok ok 32 - Data::Sah::Type::HasElems loaded ok ok 33 - Data::Sah::Type::Sortable loaded ok ok 34 - Data::Sah::Type::all loaded ok ok 35 - Data::Sah::Type::any loaded ok ok 36 - Data::Sah::Type::array loaded ok ok 37 - Data::Sah::Type::bool loaded ok ok 38 - Data::Sah::Type::buf loaded ok ok 39 - Data::Sah::Type::code loaded ok ok 40 - Data::Sah::Type::float loaded ok ok 41 - Data::Sah::Type::hash loaded ok ok 42 - Data::Sah::Type::int loaded ok ok 43 - Data::Sah::Type::num loaded ok ok 44 - Data::Sah::Type::obj loaded ok ok 45 - Data::Sah::Type::re loaded ok ok 46 - Data::Sah::Type::str loaded ok ok 47 - Data::Sah::Type::undef loaded ok ok 48 - Data::Sah::Util::Func loaded ok ok 49 - Data::Sah::Util::Role loaded ok ok 50 - Data::Sah::Util::TypeX loaded ok ok t/01-basics.t ............. ok 1 - die (default) ok 2 - warn ok 3 - ignore 1..3 ok 1 - on_unhandled_clause option ok 1 - die (default) ok 2 - warn ok 3 - ignore 1..3 ok 2 - on_unhandled_attr option ok 1 ok 2 - skip_clause in gen_validator() 1 ok 3 - skip_clause in gen_validator() 2 ok 4 - skip_clause in gen_validator() 3 1..4 ok 3 - skip_clause option 1..3 ok 1 - compile() 1..1 ok t/perl-type-bool.t ........ ok 1 ok 2 ok 3 1..3 ok t/perl-type-code.t ........ ok 1 ok 2 1..2 ok # Failed test at t/perl-type-float.t line 36. # Failed test at t/perl-type-float.t line 36. # Failed test at t/perl-type-float.t line 36. # Failed test at t/perl-type-float.t line 36. # Failed test at t/perl-type-float.t line 36. # Looks like you failed 5 tests of 15. t/perl-type-float.t ....... ok 1 ok 2 ok 3 ok 4 not ok 5 ok 6 ok 7 ok 8 not ok 9 not ok 10 ok 11 ok 12 not ok 13 ok 14 not ok 15 1..15 Dubious, test returned 5 (wstat 1280, 0x500) Failed 5/15 subtests t/perl-type-obj.t ......... ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 1..11 ok t/perl-type-re.t .......... ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 1..6 ok t/perl-type-str.t ......... ok 1 ok 2 1..2 ok t/release-pod-coverage.t .. skipped: these tests are for release candidate testing t/release-pod-syntax.t .... skipped: these tests are for release candidate testing t/release-rinci.t ......... skipped: these tests are for release candidate testing # Loading 10-type-all.yaml ... # Loading 10-type-any.yaml ... # Loading 10-type-array.yaml ... # Loading 10-type-bool.yaml ... # Loading 10-type-float.yaml ... # Loading 10-type-hash.yaml ... # Loading 10-type-int.yaml ... # Loading 10-type-str.yaml ... t/spectest-perl.t ......... ok 1 - dies 1..1 ok 1 - schema must be defined ok 1 - dies 1..1 ok 2 - string: type name must not be blank ok 1 - result ok 2 - doesn't die 1..2 ok 3 - string: type name must be valid (ok) ok 1 - result ok 2 - doesn't die 1..2 ok 4 - string: type name must be valid (ok, has namespace) ok 1 - dies 1..1 ok 5 - string: type name must be valid (fail, has whitespace) ok 1 - dies 1..1 ok 6 - string: type name must be valid (fail, starts with number) ok 1 - result ok 2 - doesn't die 1..2 ok 7 - string: * suffix is allowed and normalized to req clause ok 1 - dies 1..1 ok 8 - string: multiple * suffix is not allowed ok 1 - dies 1..1 ok 9 - array: must not be empty ok 1 - result ok 2 - doesn't die 1..2 ok 10 - array: type name must be valid (ok) ok 1 - dies 1..1 ok 11 - array: type name must be valid (fail, has whitespace) ok 1 - result ok 2 - doesn't die 1..2 ok 12 - array: * suffix is allowed and normalized to req clause ok 1 - result ok 2 - doesn't die 1..2 ok 13 - array: clause set must be hash (ok, empty) ok 1 - result ok 2 - doesn't die 1..2 ok 14 - array: clause set must be hash (ok, has some clauses) ok 1 - dies 1..1 ok 15 - array: clause set must be hash (fail, string) ok 1 - dies 1..1 ok 16 - array: clause set must be hash (fail, array) ok 1 - dies 1..1 ok 17 - array: clause name must be valid (fail, has whitespace) ok 1 - dies 1..1 ok 18 - array: clause name must be valid (fail, starts with number) ok 1 - result ok 2 - doesn't die 1..2 ok 19 - array: * suffix is allowed and normalized to req clause (2-element-array schema) ok 1 - result ok 2 - doesn't die 1..2 ok 20 - array: * suffix is allowed and normalized to req clause (overrides existing req clause) ok 1 - result ok 2 - doesn't die 1..2 ok 21 - array: clause attribute name must be valid (ok) ok 1 - dies 1..1 ok 22 - array: clause attribute name must be valid (fail, has whitespace) ok 1 - result ok 2 - doesn't die 1..2 ok 23 - array: setting attribute on clause "" is permitted ok 1 - dies 1..1 ok 24 - array: setting value attribute on clause "" using syntax "" is not permitted ok 1 - result ok 2 - doesn't die 1..2 ok 25 - array: flattened clause set is permitted ok 1 - result ok 2 - doesn't die 1..2 ok 26 - array: flattened clause set is permitted (with * suffix) ok 1 - dies 1..1 ok 27 - array: flattened clause set is permitted (fail, odd number of elements) ok 1 - result ok 2 - doesn't die 1..2 ok 28 - array: expression (clause=) is allowed on clause and normalized ok 1 - result ok 2 - doesn't die 1..2 ok 29 - array: expression (clause=) is allowed on clause.attr and normalized ok 1 - dies 1..1 ok 30 - array: expression (clause=) must not conflict with literal value (fail) ok 1 - dies 1..1 ok 31 - array: expression (clause.attr=) must not conflict with literal value (fail) ok 1 - result ok 2 - doesn't die 1..2 ok 32 - array: !clause is normalized ok 1 - dies 1..1 ok 33 - array: !clause.attr is not allowed ok 1 - result ok 2 - doesn't die 1..2 ok 34 - array: clause| is normalized ok 1 - dies 1..1 ok 35 - array: clause.attr| is not allowed ok 1 - dies 1..1 ok 36 - array: clause| value must be array (fail, not array) ok 1 - result ok 2 - doesn't die 1..2 ok 37 - array: clause& is normalized ok 1 - dies 1..1 ok 38 - array: clause.attr& is not allowed ok 1 - dies 1..1 ok 39 - array: clause& value must be array (fail, not array) ok 1 - dies 1..1 ok 40 - array: !clause cannot be mixed with merge prefix ok 1 - dies 1..1 ok 41 - array: !clause cannot be mixed with expression ok 1 - dies 1..1 ok 42 - array: clause| cannot be mixed with merge prefix ok 1 - dies 1..1 ok 43 - array: clause| cannot be mixed with expression ok 1 - dies 1..1 ok 44 - array: clause& cannot be mixed with merge prefix ok 1 - dies 1..1 ok 45 - array: clause& cannot be mixed with expression ok 1 - dies 1..1 ok 46 - array: clause, !clause, clause&, and clause| must not conflict with one another (fail, c & !c) ok 1 - dies 1..1 ok 47 - array: clause, !clause, clause&, and clause| must not conflict with one another (fail, c & c|) ok 1 - dies 1..1 ok 48 - array: clause, !clause, clause&, and clause| must not conflict with one another (fail, c & c&) ok 1 - dies 1..1 ok 49 - array: clause, !clause, clause&, and clause| must not conflict with one another (fail, !c & c|) ok 1 - dies 1..1 ok 50 - array: clause, !clause, clause&, and clause| must not conflict with one another (fail, !c & c&) ok 1 - dies 1..1 ok 51 - array: clause, !clause, clause&, and clause| must not conflict with one another (fail, c| & c&) ok 1 - result ok 2 - doesn't die 1..2 ok 52 - array: merge prefix in clause is allowed ok 1 - result ok 2 - doesn't die 1..2 ok 53 - array: clause(LANG) shortcut is allowed and normalized ok 1 - result ok 2 - doesn't die 1..2 ok 54 - array: clause.attr(LANG) shortcut is allowed and normalized ok 1 - dies 1..1 ok 55 - array: clause(LANG) shortcut must not conflict with existing attribute ok 1 - dies 1..1 ok 56 - array: invalid clause(LANG) shortcut is not allowed (1) ok 1 - dies 1..1 ok 57 - array: invalid clause(LANG) shortcut is not allowed (2) ok 1 - result ok 2 - doesn't die 1..2 ok 58 - array: extras must be hash (ok) ok 1 - dies 1..1 ok 59 - array: extras must be hash (fail, not hash) ok 1 - result ok 2 - doesn't die 1..2 ok 60 - array: def in extras must be hash (ok) ok 1 - dies 1..1 ok 61 - array: def in extras must be hash (fail) ok 1 - dies 1..1 ok 62 - array: extra elements are not permitted ok 1 - dies 1..1 ok 63 - hash form (old DS syntax) is no longer recognized 1..63 ok 1 - 00-normalize_schema.yaml ok 1 - result ok 2 - doesn't die 1..2 ok 1 - no clause sets results in nothing done ok 1 - result ok 2 - doesn't die 1..2 ok 2 - a single clause set results in nothing done ok 1 - result ok 2 - doesn't die 1..2 ok 3 - no merge prefixes results in appending clause sets ok 1 - result ok 2 - doesn't die 1..2 ok 4 - normal mode merging replaces clauses on the left ok 1 - result ok 2 - doesn't die 1..2 ok 5 - additive mode merging adds values (array) ok 1 - result ok 2 - doesn't die 1..2 ok 6 - concative mode merging concatenates values (string) ok 1 - result ok 2 - doesn't die 1..2 ok 7 - subtractive mode merging concatenates values (int) ok 1 - result ok 2 - doesn't die 1..2 ok 8 - delete mode merging deletes values ok 1 - result ok 2 - doesn't die 1..2 ok 9 - keep mode prevents overriding of values 1..9 ok 2 - 01-merge_clause_sets.yaml # Test version: v0.9.17 (generated by devscripts/gen-type-spectest on Tue Nov 20 09:17:04 2012) # { # 'input' => 3, # 'name' => 'of (nok + nok)', # 'schema' => [ # 'all', # 'of', # [ # [ # 'int', # 'div_by', # 2 # ], # [ # 'int', # 'div_by', # 5 # ] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 1 - of (nok + nok) # { # 'input' => 2, # 'name' => 'of (ok + nok)', # 'schema' => [ # 'all', # 'of', # [ # [ # 'int', # 'div_by', # 2 # ], # [ # 'int', # 'div_by', # 5 # ] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 2 - of (ok + nok) # { # 'input' => 5, # 'name' => 'of (nok + ok)', # 'schema' => [ # 'all', # 'of', # [ # [ # 'int', # 'div_by', # 2 # ], # [ # 'int', # 'div_by', # 5 # ] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 3 - of (nok + ok) # { # 'input' => 10, # 'name' => 'of (ok + ok)', # 'schema' => [ # 'all', # 'of', # [ # [ # 'int', # 'div_by', # 2 # ], # [ # 'int', # 'div_by', # 5 # ] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 4 - of (ok + ok) 1..4 ok 3 - 10-type-all.yaml # Test version: v0.9.17 (generated by devscripts/gen-type-spectest on Tue Nov 20 09:17:04 2012) # { # 'input' => 3, # 'name' => 'of (nok + nok)', # 'schema' => [ # 'any', # 'of', # [ # [ # 'int', # 'div_by', # 2 # ], # [ # 'int', # 'div_by', # 5 # ] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 1 - of (nok + nok) # { # 'input' => 2, # 'name' => 'of (ok + nok)', # 'schema' => [ # 'any', # 'of', # [ # [ # 'int', # 'div_by', # 2 # ], # [ # 'int', # 'div_by', # 5 # ] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 2 - of (ok + nok) # { # 'input' => 5, # 'name' => 'of (nok + ok)', # 'schema' => [ # 'any', # 'of', # [ # [ # 'int', # 'div_by', # 2 # ], # [ # 'int', # 'div_by', # 5 # ] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 3 - of (nok + ok) # { # 'input' => 10, # 'name' => 'of (ok + ok)', # 'schema' => [ # 'any', # 'of', # [ # [ # 'int', # 'div_by', # 2 # ], # [ # 'int', # 'div_by', # 5 # ] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 4 - of (ok + ok) 1..4 ok 4 - 10-type-any.yaml # Test version: v0.9.17 (generated by devscripts/gen-type-spectest on Tue Nov 20 09:17:04 2012) # { # 'input' => [], # 'name' => 'type check: must accept []', # 'schema' => 'array', # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 1 - type check: must accept [] # { # 'input' => [ # 1, # 'a' # ], # 'name' => 'type check: must accept - 1 # - a', # 'schema' => 'array', # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 2 - type check: must accept - 1 # - a # { # 'input' => [ # [] # ], # 'name' => 'type check: must accept - []', # 'schema' => 'array', # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 3 - type check: must accept - [] # { # 'input' => 1, # 'name' => 'type check: must reject 1', # 'schema' => 'array', # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 4 - type check: must reject 1 # { # 'input' => 'a', # 'name' => 'type check: must reject a', # 'schema' => 'array', # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 5 - type check: must reject a # { # 'input' => {}, # 'name' => 'type check: must reject {}', # 'schema' => 'array', # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 6 - type check: must reject {} # { # 'input' => undef, # 'name' => 'must accept undefined value', # 'schema' => 'array', # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 7 - must accept undefined value # { # 'input' => undef, # 'name' => 'req=0 must accept undefined value', # 'schema' => [ # 'array', # 'req', # 0 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 8 - req=0 must accept undefined value # { # 'input' => undef, # 'name' => 'req=1 must reject undefined value', # 'schema' => [ # 'array', # 'req', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 9 - req=1 must reject undefined value # { # 'input' => [], # 'name' => 'forbidden=0 must accept defined value', # 'schema' => [ # 'array', # 'forbidden', # 0 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 10 - forbidden=0 must accept defined value # { # 'input' => [], # 'name' => 'forbidden=1 must reject defined value', # 'schema' => [ # 'array', # 'forbidden', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 11 - forbidden=1 must reject defined value # { # 'input' => undef, # 'name' => 'default: must accept valid default []', # 'schema' => [ # 'array*', # 'default', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 12 - default: must accept valid default [] # { # 'input' => undef, # 'name' => 'default: must reject invalid default a', # 'schema' => [ # 'array*', # 'default', # 'a' # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 13 - default: must reject invalid default a # { # 'input' => [], # 'name' => '.err_level=error (clause=is, ok)', # 'schema' => [ # 'array', # 'is', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 14 - .err_level=error (clause=is, ok) # { # 'input' => [ # 0 # ], # 'name' => '.err_level=error (clause=is, nok)', # 'schema' => [ # 'array', # 'is', # [] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 15 - .err_level=error (clause=is, nok) # { # 'input' => [], # 'name' => '.err_level=warn (clause=is, ok)', # 'schema' => [ # 'array', # 'is', # [], # 'is.err_level', # 'warn' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 16 - .err_level=warn (clause=is, ok) # { # 'input' => [ # 0 # ], # 'name' => '.err_level=warn (clause=is, nok)', # 'schema' => [ # 'array*', # 'is', # [], # 'is.err_level', # 'warn' # ], # 'valid' => 1, # 'warnings' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 17 - .err_level=warn (clause=is, nok) # { # 'input' => [ # 1 # ], # 'name' => 'is: must accept same value', # 'schema' => [ # 'array', # 'is', # $VAR1->{'input'} # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 18 - is: must accept same value # { # 'input' => [ # 1 # ], # 'name' => 'is: must reject different value', # 'schema' => [ # 'array', # 'is', # [ # 2 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 19 - is: must reject different value # { # 'input' => [ # 1 # ], # 'name' => '!is: (nok)', # 'schema' => [ # 'array', # '!is', # $VAR1->{'input'} # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 20 - !is: (nok) # { # 'input' => [ # 1 # ], # 'name' => '!is: (ok)', # 'schema' => [ # 'array', # '!is', # [ # 2 # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 21 - !is: (ok) # { # 'input' => [ # 1 # ], # 'name' => 'is&: (no items)', # 'schema' => [ # 'array', # 'is&', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 22 - is&: (no items) # { # 'input' => [ # 1 # ], # 'name' => 'is&: (ok)', # 'schema' => [ # 'array', # 'is&', # [ # $VAR1->{'input'}, # $VAR1->{'input'} # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 23 - is&: (ok) # { # 'errors' => 1, # 'input' => [ # 1 # ], # 'name' => 'is&: (nok + ok)', # 'schema' => [ # 'array', # 'is&', # [ # [ # 2 # ], # $VAR1->{'input'} # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 24 - is&: (nok + ok) # { # 'errors' => 1, # 'input' => [ # 1 # ], # 'name' => 'is&: (ok + nok)', # 'schema' => [ # 'array', # 'is&', # [ # $VAR1->{'input'}, # [ # 2 # ] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 25 - is&: (ok + nok) # { # 'errors' => 2, # 'input' => [ # 1 # ], # 'name' => 'is&: (nok + nok)', # 'schema' => [ # 'array', # 'is&', # [ # [ # 2 # ], # $VAR1->{'schema'}[2][0] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 26 - is&: (nok + nok) # { # 'input' => [ # 1 # ], # 'name' => 'is|: (no items)', # 'schema' => [ # 'array', # 'is|', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 27 - is|: (no items) # { # 'input' => [ # 1 # ], # 'name' => 'is|: (ok)', # 'schema' => [ # 'array', # 'is|', # [ # $VAR1->{'input'}, # $VAR1->{'input'} # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 28 - is|: (ok) # { # 'input' => [ # 1 # ], # 'name' => 'is|: (nok + ok)', # 'schema' => [ # 'array', # 'is|', # [ # [ # 2 # ], # $VAR1->{'input'} # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 29 - is|: (nok + ok) # { # 'input' => [ # 1 # ], # 'name' => 'is|: (ok + nok)', # 'schema' => [ # 'array', # 'is|', # [ # $VAR1->{'input'}, # [ # 2 # ] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 30 - is|: (ok + nok) # { # 'errors' => 1, # 'input' => [ # 1 # ], # 'name' => 'is|: (nok + nok)', # 'schema' => [ # 'array', # 'is|', # [ # [ # 2 # ], # $VAR1->{'schema'}[2][0] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 31 - is|: (nok + nok) # { # 'input' => [ # 1 # ], # 'name' => 'is.min_ok (nok + nok)', # 'schema' => [ # 'array', # 'is', # [ # [ # 2 # ], # $VAR1->{'schema'}[2][0] # ], # 'is.is_multi', # 1, # 'is.min_ok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 32 - is.min_ok (nok + nok) # { # 'input' => [ # 1 # ], # 'name' => 'is.min_ok (ok + nok)', # 'schema' => [ # 'array', # 'is', # [ # $VAR1->{'input'}, # [ # 2 # ] # ], # 'is.is_multi', # 1, # 'is.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 33 - is.min_ok (ok + nok) # { # 'input' => [ # 1 # ], # 'name' => 'is.min_ok (ok + ok)', # 'schema' => [ # 'array', # 'is', # [ # $VAR1->{'input'}, # $VAR1->{'input'} # ], # 'is.is_multi', # 1, # 'is.min_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 34 - is.min_ok (ok + ok) # { # 'input' => [ # 1 # ], # 'name' => 'is.max_ok (nok + nok)', # 'schema' => [ # 'array', # 'is', # [ # [ # 2 # ], # $VAR1->{'schema'}[2][0] # ], # 'is.is_multi', # 1, # 'is.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 35 - is.max_ok (nok + nok) # { # 'input' => [ # 1 # ], # 'name' => 'is.max_ok (ok + nok)', # 'schema' => [ # 'array', # 'is', # [ # $VAR1->{'input'}, # [ # 2 # ] # ], # 'is.is_multi', # 1, # 'is.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 36 - is.max_ok (ok + nok) # { # 'input' => [ # 1 # ], # 'name' => 'is.max_ok (ok + ok)', # 'schema' => [ # 'array', # 'is', # [ # $VAR1->{'input'}, # $VAR1->{'input'} # ], # 'is.is_multi', # 1, # 'is.max_ok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 37 - is.max_ok (ok + ok) # { # 'input' => [ # 1 # ], # 'name' => 'is.min_nok (nok + nok)', # 'schema' => [ # 'array', # 'is', # [ # [ # 2 # ], # $VAR1->{'schema'}[2][0] # ], # 'is.is_multi', # 1, # 'is.min_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 38 - is.min_nok (nok + nok) # { # 'input' => [ # 1 # ], # 'name' => 'is.min_nok (ok + nok)', # 'schema' => [ # 'array', # 'is', # [ # $VAR1->{'input'}, # [ # 2 # ] # ], # 'is.is_multi', # 1, # 'is.min_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 39 - is.min_nok (ok + nok) # { # 'input' => [ # 1 # ], # 'name' => 'is.min_nok (ok + ok)', # 'schema' => [ # 'array', # 'is', # [ # $VAR1->{'input'}, # $VAR1->{'input'} # ], # 'is.is_multi', # 1, # 'is.min_nok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 40 - is.min_nok (ok + ok) # { # 'input' => [ # 1 # ], # 'name' => 'is.max_nok (nok + nok)', # 'schema' => [ # 'array', # 'is', # [ # [ # 2 # ], # $VAR1->{'schema'}[2][0] # ], # 'is.is_multi', # 1, # 'is.max_nok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 41 - is.max_nok (nok + nok) # { # 'input' => [ # 1 # ], # 'name' => 'is.max_nok (ok + nok)', # 'schema' => [ # 'array', # 'is', # [ # $VAR1->{'input'}, # [ # 2 # ] # ], # 'is.is_multi', # 1, # 'is.max_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 42 - is.max_nok (ok + nok) # { # 'input' => [ # 1 # ], # 'name' => 'is.max_nok (ok + ok)', # 'schema' => [ # 'array', # 'is', # [ # $VAR1->{'input'}, # $VAR1->{'input'} # ], # 'is.is_multi', # 1, # 'is.max_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 43 - is.max_nok (ok + ok) # { # 'input' => [ # 1 # ], # 'name' => 'in: must accept valid choices', # 'schema' => [ # 'array', # 'in', # [ # $VAR1->{'input'}, # [ # 2 # ] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 44 - in: must accept valid choices # { # 'input' => [ # 1 # ], # 'name' => 'in: must reject empty choices', # 'schema' => [ # 'array', # 'in', # [] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 45 - in: must reject empty choices # { # 'input' => [ # 1 # ], # 'name' => '!in: (nok)', # 'schema' => [ # 'array', # '!in', # [ # $VAR1->{'input'}, # [ # 2 # ] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 46 - !in: (nok) # { # 'input' => [ # 1 # ], # 'name' => '!in: (ok)', # 'schema' => [ # 'array', # '!in', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 47 - !in: (ok) # { # 'input' => [ # 1 # ], # 'name' => 'in&: (no items)', # 'schema' => [ # 'array', # 'in&', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 48 - in&: (no items) # { # 'input' => [ # 1 # ], # 'name' => 'in&: (ok)', # 'schema' => [ # 'array', # 'in&', # [ # [ # $VAR1->{'input'}, # [ # 2 # ] # ], # [ # [ # 1 # ], # [ # 2 # ] # ] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 49 - in&: (ok) # { # 'errors' => 1, # 'input' => [ # 1 # ], # 'name' => 'in&: (nok + ok)', # 'schema' => [ # 'array', # 'in&', # [ # [], # [ # $VAR1->{'input'}, # [ # 2 # ] # ] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 50 - in&: (nok + ok) # { # 'errors' => 1, # 'input' => [ # 1 # ], # 'name' => 'in&: (ok + nok)', # 'schema' => [ # 'array', # 'in&', # [ # [ # $VAR1->{'input'}, # [ # 2 # ] # ], # [] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 51 - in&: (ok + nok) # { # 'errors' => 2, # 'input' => [ # 1 # ], # 'name' => 'in&: (nok + nok)', # 'schema' => [ # 'array', # 'in&', # [ # [], # [] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 52 - in&: (nok + nok) # { # 'input' => [ # 1 # ], # 'name' => 'in|: (no items)', # 'schema' => [ # 'array', # 'in|', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 53 - in|: (no items) # { # 'input' => [ # 1 # ], # 'name' => 'in|: (ok)', # 'schema' => [ # 'array', # 'in|', # [ # [ # $VAR1->{'input'}, # [ # 2 # ] # ], # [ # [ # 1 # ], # [ # 2 # ] # ] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 54 - in|: (ok) # { # 'input' => [ # 1 # ], # 'name' => 'in|: (nok + ok)', # 'schema' => [ # 'array', # 'in|', # [ # [], # [ # $VAR1->{'input'}, # [ # 2 # ] # ] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 55 - in|: (nok + ok) # { # 'input' => [ # 1 # ], # 'name' => 'in|: (ok + nok)', # 'schema' => [ # 'array', # 'in|', # [ # [ # $VAR1->{'input'}, # [ # 2 # ] # ], # [] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 56 - in|: (ok + nok) # { # 'errors' => 1, # 'input' => [ # 1 # ], # 'name' => 'in|: (nok + nok)', # 'schema' => [ # 'array', # 'in|', # [ # [], # [] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 57 - in|: (nok + nok) # { # 'input' => [ # 1 # ], # 'name' => 'in.min_ok (nok + nok)', # 'schema' => [ # 'array', # 'in', # [ # [], # [] # ], # 'in.is_multi', # 1, # 'in.min_ok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 58 - in.min_ok (nok + nok) # { # 'input' => [ # 1 # ], # 'name' => 'in.min_ok (ok + nok)', # 'schema' => [ # 'array', # 'in', # [ # [ # $VAR1->{'input'}, # [ # 2 # ] # ], # [] # ], # 'in.is_multi', # 1, # 'in.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 59 - in.min_ok (ok + nok) # { # 'input' => [ # 1 # ], # 'name' => 'in.min_ok (ok + ok)', # 'schema' => [ # 'array', # 'in', # [ # [ # $VAR1->{'input'}, # [ # 2 # ] # ], # [ # [ # 1 # ], # [ # 2 # ] # ] # ], # 'in.is_multi', # 1, # 'in.min_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 60 - in.min_ok (ok + ok) # { # 'input' => [ # 1 # ], # 'name' => 'in.max_ok (nok + nok)', # 'schema' => [ # 'array', # 'in', # [ # [], # [] # ], # 'in.is_multi', # 1, # 'in.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 61 - in.max_ok (nok + nok) # { # 'input' => [ # 1 # ], # 'name' => 'in.max_ok (ok + nok)', # 'schema' => [ # 'array', # 'in', # [ # [ # $VAR1->{'input'}, # [ # 2 # ] # ], # [] # ], # 'in.is_multi', # 1, # 'in.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 62 - in.max_ok (ok + nok) # { # 'input' => [ # 1 # ], # 'name' => 'in.max_ok (ok + ok)', # 'schema' => [ # 'array', # 'in', # [ # [ # $VAR1->{'input'}, # [ # 2 # ] # ], # [ # [ # 1 # ], # [ # 2 # ] # ] # ], # 'in.is_multi', # 1, # 'in.max_ok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 63 - in.max_ok (ok + ok) # { # 'input' => [ # 1 # ], # 'name' => 'in.min_nok (nok + nok)', # 'schema' => [ # 'array', # 'in', # [ # [], # [] # ], # 'in.is_multi', # 1, # 'in.min_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 64 - in.min_nok (nok + nok) # { # 'input' => [ # 1 # ], # 'name' => 'in.min_nok (ok + nok)', # 'schema' => [ # 'array', # 'in', # [ # [ # $VAR1->{'input'}, # [ # 2 # ] # ], # [] # ], # 'in.is_multi', # 1, # 'in.min_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 65 - in.min_nok (ok + nok) # { # 'input' => [ # 1 # ], # 'name' => 'in.min_nok (ok + ok)', # 'schema' => [ # 'array', # 'in', # [ # [ # $VAR1->{'input'}, # [ # 2 # ] # ], # [ # [ # 1 # ], # [ # 2 # ] # ] # ], # 'in.is_multi', # 1, # 'in.min_nok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 66 - in.min_nok (ok + ok) # { # 'input' => [ # 1 # ], # 'name' => 'in.max_nok (nok + nok)', # 'schema' => [ # 'array', # 'in', # [ # [], # [] # ], # 'in.is_multi', # 1, # 'in.max_nok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 67 - in.max_nok (nok + nok) # { # 'input' => [ # 1 # ], # 'name' => 'in.max_nok (ok + nok)', # 'schema' => [ # 'array', # 'in', # [ # [ # $VAR1->{'input'}, # [ # 2 # ] # ], # [] # ], # 'in.is_multi', # 1, # 'in.max_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 68 - in.max_nok (ok + nok) # { # 'input' => [ # 1 # ], # 'name' => 'in.max_nok (ok + ok)', # 'schema' => [ # 'array', # 'in', # [ # [ # $VAR1->{'input'}, # [ # 2 # ] # ], # [ # [ # 1 # ], # [ # 2 # ] # ] # ], # 'in.is_multi', # 1, # 'in.max_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 69 - in.max_nok (ok + ok) # { # 'input' => [ # 1 # ], # 'name' => 'len (ok)', # 'schema' => [ # 'array', # 'len', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 70 - len (ok) # { # 'input' => [ # 1 # ], # 'name' => 'len (nok)', # 'schema' => [ # 'array', # 'len', # 2 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 71 - len (nok) # { # 'input' => [ # 1 # ], # 'name' => 'min_len (ok)', # 'schema' => [ # 'array', # 'min_len', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 72 - min_len (ok) # { # 'input' => [ # 1 # ], # 'name' => 'min_len (nok)', # 'schema' => [ # 'array', # 'min_len', # 2 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 73 - min_len (nok) # { # 'input' => [ # 1 # ], # 'name' => 'max_len (ok)', # 'schema' => [ # 'array', # 'min_len', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 74 - max_len (ok) # { # 'input' => [ # 1, # '1.2' # ], # 'name' => 'max_len (nok)', # 'schema' => [ # 'array', # 'max_len', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 75 - max_len (nok) # { # 'input' => [ # 1 # ], # 'name' => 'len_between (ok)', # 'schema' => [ # 'array', # 'len_between', # [ # 1, # 2 # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 76 - len_between (ok) # { # 'input' => [ # 1, # '1.2' # ], # 'name' => 'len_between (nok)', # 'schema' => [ # 'array', # 'len_between', # [ # 1, # 1 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 77 - len_between (nok) # { # 'input' => [ # 1, # '1.2' # ], # 'name' => 'each_index (ok)', # 'schema' => [ # 'array', # 'each_index', # [ # 'int', # 'max', # 1 # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 78 - each_index (ok) # { # 'input' => [ # 1, # '1.2' # ], # 'name' => 'each_index (nok)', # 'schema' => [ # 'array', # 'each_index', # [ # 'int', # 'xmax', # 1 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 79 - each_index (nok) # { # 'input' => [ # 1, # '1.2' # ], # 'name' => 'each_elem (ok)', # 'schema' => [ # 'array', # 'each_elem', # 'float' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 80 - each_elem (ok) # { # 'input' => [ # 1, # '1.2' # ], # 'name' => 'each_elem (nok)', # 'schema' => [ # 'array', # 'each_elem', # 'int' # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 81 - each_elem (nok) # { # 'input' => [ # undef, # 1 # ], # 'name' => 'elems (nok, first elem required)', # 'schema' => [ # 'array', # { # 'elems' => [ # 'int*', # [ # 'float', # 'default', # 2 # ] # ] # } # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 82 - elems (nok, first elem required) # { # 'input' => [ # 1 # ], # 'name' => 'elems (ok, missing elem set to undef)', # 'schema' => [ # 'array', # { # 'elems' => [ # 'int*', # [ # 'float', # 'default', # 2 # ] # ] # } # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 83 - elems (ok, missing elem set to undef) # { # 'input' => [ # 1, # undef # ], # 'name' => 'elems (ok, second elem optional)', # 'schema' => [ # 'array', # { # 'elems' => [ # 'int*', # [ # 'float', # 'default', # 2 # ] # ] # } # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 84 - elems (ok, second elem optional) # { # 'input' => [ # 1, # '1.1' # ], # 'name' => 'elems (ok 2)', # 'schema' => [ # 'array', # { # 'elems' => [ # 'int*', # [ # 'float', # 'default', # 2 # ] # ] # } # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 85 - elems (ok 2) # { # 'input' => [ # 1, # '1.1', # undef # ], # 'name' => 'elems (ok, extra elems ignored)', # 'schema' => [ # 'array', # { # 'elems' => [ # 'int*', # [ # 'float', # 'default', # 2 # ] # ] # } # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 86 - elems (ok, extra elems ignored) # { # 'input' => [ # 1, # '1.1', # 'foo' # ], # 'name' => 'elems (ok, extra elems ignored 2)', # 'schema' => [ # 'array', # { # 'elems' => [ # 'int*', # [ # 'float', # 'default', # 2 # ] # ] # } # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 87 - elems (ok, extra elems ignored 2) # { # 'input' => [ # 1 # ], # 'name' => 'elems (ok, create_default=0)', # 'output' => [ # 1 # ], # 'schema' => [ # 'array', # { # 'elems' => [ # 'int', # [ # 'int', # 'default', # 2 # ] # ], # 'elems.create_default' => 0 # } # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - output ok 3 - valid (vrt=str) ok 4 - validator (vrt=full) returns hash ok 5 - errors (vrt=full) ok 6 - warnings (vrt=full) 1..6 ok 88 - elems (ok, create_default=0) # { # 'input' => [ # 1, # undef # ], # 'name' => 'elems (ok 2, create_default=0)', # 'output' => [ # 1, # 2 # ], # 'schema' => [ # 'array', # { # 'elems' => [ # 'int', # [ # 'int', # 'default', # 2 # ] # ], # 'elems.create_default' => 0 # } # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - output ok 3 - valid (vrt=str) ok 4 - validator (vrt=full) returns hash ok 5 - errors (vrt=full) ok 6 - warnings (vrt=full) 1..6 ok 89 - elems (ok 2, create_default=0) 1..89 ok 5 - 10-type-array.yaml # Test version: v0.9.17 (generated by devscripts/gen-type-spectest on Tue Nov 20 09:17:04 2012) # { # 'input' => 0, # 'name' => 'type check: must accept 0', # 'schema' => 'bool', # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 1 - type check: must accept 0 # { # 'input' => 1, # 'name' => 'type check: must accept 1', # 'schema' => 'bool', # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 2 - type check: must accept 1 # { # 'input' => [], # 'name' => 'type check: must reject []', # 'schema' => 'bool', # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 3 - type check: must reject [] # { # 'input' => {}, # 'name' => 'type check: must reject {}', # 'schema' => 'bool', # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 4 - type check: must reject {} # { # 'input' => undef, # 'name' => 'must accept undefined value', # 'schema' => 'bool', # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 5 - must accept undefined value # { # 'input' => undef, # 'name' => 'req=0 must accept undefined value', # 'schema' => [ # 'bool', # 'req', # 0 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 6 - req=0 must accept undefined value # { # 'input' => undef, # 'name' => 'req=1 must reject undefined value', # 'schema' => [ # 'bool', # 'req', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 7 - req=1 must reject undefined value # { # 'input' => 1, # 'name' => 'forbidden=0 must accept defined value', # 'schema' => [ # 'bool', # 'forbidden', # 0 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 8 - forbidden=0 must accept defined value # { # 'input' => 1, # 'name' => 'forbidden=1 must reject defined value', # 'schema' => [ # 'bool', # 'forbidden', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 9 - forbidden=1 must reject defined value # { # 'input' => undef, # 'name' => 'default: must accept valid default 1', # 'schema' => [ # 'bool*', # 'default', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 10 - default: must accept valid default 1 # { # 'input' => undef, # 'name' => 'default: must reject invalid default []', # 'schema' => [ # 'bool*', # 'default', # [] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 11 - default: must reject invalid default [] # { # 'input' => 1, # 'name' => '.err_level=error (clause=is, ok)', # 'schema' => [ # 'bool', # 'is', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 12 - .err_level=error (clause=is, ok) # { # 'input' => 0, # 'name' => '.err_level=error (clause=is, nok)', # 'schema' => [ # 'bool', # 'is', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 13 - .err_level=error (clause=is, nok) # { # 'input' => 1, # 'name' => '.err_level=warn (clause=is, ok)', # 'schema' => [ # 'bool', # 'is', # 1, # 'is.err_level', # 'warn' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 14 - .err_level=warn (clause=is, ok) # { # 'input' => 0, # 'name' => '.err_level=warn (clause=is, nok)', # 'schema' => [ # 'bool*', # 'is', # 1, # 'is.err_level', # 'warn' # ], # 'valid' => 1, # 'warnings' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 15 - .err_level=warn (clause=is, nok) # { # 'input' => 0, # 'name' => 'is: must accept same value', # 'schema' => [ # 'bool', # 'is', # 0 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 16 - is: must accept same value # { # 'input' => 0, # 'name' => 'is: must reject different value', # 'schema' => [ # 'bool', # 'is', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 17 - is: must reject different value # { # 'input' => 0, # 'name' => '!is: (nok)', # 'schema' => [ # 'bool', # '!is', # 0 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 18 - !is: (nok) # { # 'input' => 0, # 'name' => '!is: (ok)', # 'schema' => [ # 'bool', # '!is', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 19 - !is: (ok) # { # 'input' => 0, # 'name' => 'is&: (no items)', # 'schema' => [ # 'bool', # 'is&', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 20 - is&: (no items) # { # 'input' => 0, # 'name' => 'is&: (ok)', # 'schema' => [ # 'bool', # 'is&', # [ # 0, # 0 # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 21 - is&: (ok) # { # 'errors' => 1, # 'input' => 0, # 'name' => 'is&: (nok + ok)', # 'schema' => [ # 'bool', # 'is&', # [ # 1, # 0 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 22 - is&: (nok + ok) # { # 'errors' => 1, # 'input' => 0, # 'name' => 'is&: (ok + nok)', # 'schema' => [ # 'bool', # 'is&', # [ # 0, # 1 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 23 - is&: (ok + nok) # { # 'errors' => 2, # 'input' => 0, # 'name' => 'is&: (nok + nok)', # 'schema' => [ # 'bool', # 'is&', # [ # 1, # 1 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 24 - is&: (nok + nok) # { # 'input' => 0, # 'name' => 'is|: (no items)', # 'schema' => [ # 'bool', # 'is|', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 25 - is|: (no items) # { # 'input' => 0, # 'name' => 'is|: (ok)', # 'schema' => [ # 'bool', # 'is|', # [ # 0, # 0 # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 26 - is|: (ok) # { # 'input' => 0, # 'name' => 'is|: (nok + ok)', # 'schema' => [ # 'bool', # 'is|', # [ # 1, # 0 # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 27 - is|: (nok + ok) # { # 'input' => 0, # 'name' => 'is|: (ok + nok)', # 'schema' => [ # 'bool', # 'is|', # [ # 0, # 1 # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 28 - is|: (ok + nok) # { # 'errors' => 1, # 'input' => 0, # 'name' => 'is|: (nok + nok)', # 'schema' => [ # 'bool', # 'is|', # [ # 1, # 1 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 29 - is|: (nok + nok) # { # 'input' => 0, # 'name' => 'is.min_ok (nok + nok)', # 'schema' => [ # 'bool', # 'is', # [ # 1, # 1 # ], # 'is.is_multi', # 1, # 'is.min_ok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 30 - is.min_ok (nok + nok) # { # 'input' => 0, # 'name' => 'is.min_ok (ok + nok)', # 'schema' => [ # 'bool', # 'is', # [ # 0, # 1 # ], # 'is.is_multi', # 1, # 'is.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 31 - is.min_ok (ok + nok) # { # 'input' => 0, # 'name' => 'is.min_ok (ok + ok)', # 'schema' => [ # 'bool', # 'is', # [ # 0, # 0 # ], # 'is.is_multi', # 1, # 'is.min_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 32 - is.min_ok (ok + ok) # { # 'input' => 0, # 'name' => 'is.max_ok (nok + nok)', # 'schema' => [ # 'bool', # 'is', # [ # 1, # 1 # ], # 'is.is_multi', # 1, # 'is.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 33 - is.max_ok (nok + nok) # { # 'input' => 0, # 'name' => 'is.max_ok (ok + nok)', # 'schema' => [ # 'bool', # 'is', # [ # 0, # 1 # ], # 'is.is_multi', # 1, # 'is.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 34 - is.max_ok (ok + nok) # { # 'input' => 0, # 'name' => 'is.max_ok (ok + ok)', # 'schema' => [ # 'bool', # 'is', # [ # 0, # 0 # ], # 'is.is_multi', # 1, # 'is.max_ok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 35 - is.max_ok (ok + ok) # { # 'input' => 0, # 'name' => 'is.min_nok (nok + nok)', # 'schema' => [ # 'bool', # 'is', # [ # 1, # 1 # ], # 'is.is_multi', # 1, # 'is.min_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 36 - is.min_nok (nok + nok) # { # 'input' => 0, # 'name' => 'is.min_nok (ok + nok)', # 'schema' => [ # 'bool', # 'is', # [ # 0, # 1 # ], # 'is.is_multi', # 1, # 'is.min_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 37 - is.min_nok (ok + nok) # { # 'input' => 0, # 'name' => 'is.min_nok (ok + ok)', # 'schema' => [ # 'bool', # 'is', # [ # 0, # 0 # ], # 'is.is_multi', # 1, # 'is.min_nok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 38 - is.min_nok (ok + ok) # { # 'input' => 0, # 'name' => 'is.max_nok (nok + nok)', # 'schema' => [ # 'bool', # 'is', # [ # 1, # 1 # ], # 'is.is_multi', # 1, # 'is.max_nok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 39 - is.max_nok (nok + nok) # { # 'input' => 0, # 'name' => 'is.max_nok (ok + nok)', # 'schema' => [ # 'bool', # 'is', # [ # 0, # 1 # ], # 'is.is_multi', # 1, # 'is.max_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 40 - is.max_nok (ok + nok) # { # 'input' => 0, # 'name' => 'is.max_nok (ok + ok)', # 'schema' => [ # 'bool', # 'is', # [ # 0, # 0 # ], # 'is.is_multi', # 1, # 'is.max_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 41 - is.max_nok (ok + ok) # { # 'input' => 0, # 'name' => 'in: must accept valid choices', # 'schema' => [ # 'bool', # 'in', # [ # 0, # 1 # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 42 - in: must accept valid choices # { # 'input' => 0, # 'name' => 'in: must reject empty choices', # 'schema' => [ # 'bool', # 'in', # [] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 43 - in: must reject empty choices # { # 'input' => 0, # 'name' => '!in: (nok)', # 'schema' => [ # 'bool', # '!in', # [ # 0, # 1 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 44 - !in: (nok) # { # 'input' => 0, # 'name' => '!in: (ok)', # 'schema' => [ # 'bool', # '!in', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 45 - !in: (ok) # { # 'input' => 0, # 'name' => 'in&: (no items)', # 'schema' => [ # 'bool', # 'in&', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 46 - in&: (no items) # { # 'input' => 0, # 'name' => 'in&: (ok)', # 'schema' => [ # 'bool', # 'in&', # [ # [ # 0, # 1 # ], # [ # 0, # 1 # ] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 47 - in&: (ok) # { # 'errors' => 1, # 'input' => 0, # 'name' => 'in&: (nok + ok)', # 'schema' => [ # 'bool', # 'in&', # [ # [], # [ # 0, # 1 # ] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 48 - in&: (nok + ok) # { # 'errors' => 1, # 'input' => 0, # 'name' => 'in&: (ok + nok)', # 'schema' => [ # 'bool', # 'in&', # [ # [ # 0, # 1 # ], # [] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 49 - in&: (ok + nok) # { # 'errors' => 2, # 'input' => 0, # 'name' => 'in&: (nok + nok)', # 'schema' => [ # 'bool', # 'in&', # [ # [], # [] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 50 - in&: (nok + nok) # { # 'input' => 0, # 'name' => 'in|: (no items)', # 'schema' => [ # 'bool', # 'in|', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 51 - in|: (no items) # { # 'input' => 0, # 'name' => 'in|: (ok)', # 'schema' => [ # 'bool', # 'in|', # [ # [ # 0, # 1 # ], # [ # 0, # 1 # ] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 52 - in|: (ok) # { # 'input' => 0, # 'name' => 'in|: (nok + ok)', # 'schema' => [ # 'bool', # 'in|', # [ # [], # [ # 0, # 1 # ] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 53 - in|: (nok + ok) # { # 'input' => 0, # 'name' => 'in|: (ok + nok)', # 'schema' => [ # 'bool', # 'in|', # [ # [ # 0, # 1 # ], # [] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 54 - in|: (ok + nok) # { # 'errors' => 1, # 'input' => 0, # 'name' => 'in|: (nok + nok)', # 'schema' => [ # 'bool', # 'in|', # [ # [], # [] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 55 - in|: (nok + nok) # { # 'input' => 0, # 'name' => 'in.min_ok (nok + nok)', # 'schema' => [ # 'bool', # 'in', # [ # [], # [] # ], # 'in.is_multi', # 1, # 'in.min_ok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 56 - in.min_ok (nok + nok) # { # 'input' => 0, # 'name' => 'in.min_ok (ok + nok)', # 'schema' => [ # 'bool', # 'in', # [ # [ # 0, # 1 # ], # [] # ], # 'in.is_multi', # 1, # 'in.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 57 - in.min_ok (ok + nok) # { # 'input' => 0, # 'name' => 'in.min_ok (ok + ok)', # 'schema' => [ # 'bool', # 'in', # [ # [ # 0, # 1 # ], # [ # 0, # 1 # ] # ], # 'in.is_multi', # 1, # 'in.min_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 58 - in.min_ok (ok + ok) # { # 'input' => 0, # 'name' => 'in.max_ok (nok + nok)', # 'schema' => [ # 'bool', # 'in', # [ # [], # [] # ], # 'in.is_multi', # 1, # 'in.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 59 - in.max_ok (nok + nok) # { # 'input' => 0, # 'name' => 'in.max_ok (ok + nok)', # 'schema' => [ # 'bool', # 'in', # [ # [ # 0, # 1 # ], # [] # ], # 'in.is_multi', # 1, # 'in.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 60 - in.max_ok (ok + nok) # { # 'input' => 0, # 'name' => 'in.max_ok (ok + ok)', # 'schema' => [ # 'bool', # 'in', # [ # [ # 0, # 1 # ], # [ # 0, # 1 # ] # ], # 'in.is_multi', # 1, # 'in.max_ok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 61 - in.max_ok (ok + ok) # { # 'input' => 0, # 'name' => 'in.min_nok (nok + nok)', # 'schema' => [ # 'bool', # 'in', # [ # [], # [] # ], # 'in.is_multi', # 1, # 'in.min_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 62 - in.min_nok (nok + nok) # { # 'input' => 0, # 'name' => 'in.min_nok (ok + nok)', # 'schema' => [ # 'bool', # 'in', # [ # [ # 0, # 1 # ], # [] # ], # 'in.is_multi', # 1, # 'in.min_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 63 - in.min_nok (ok + nok) # { # 'input' => 0, # 'name' => 'in.min_nok (ok + ok)', # 'schema' => [ # 'bool', # 'in', # [ # [ # 0, # 1 # ], # [ # 0, # 1 # ] # ], # 'in.is_multi', # 1, # 'in.min_nok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 64 - in.min_nok (ok + ok) # { # 'input' => 0, # 'name' => 'in.max_nok (nok + nok)', # 'schema' => [ # 'bool', # 'in', # [ # [], # [] # ], # 'in.is_multi', # 1, # 'in.max_nok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 65 - in.max_nok (nok + nok) # { # 'input' => 0, # 'name' => 'in.max_nok (ok + nok)', # 'schema' => [ # 'bool', # 'in', # [ # [ # 0, # 1 # ], # [] # ], # 'in.is_multi', # 1, # 'in.max_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 66 - in.max_nok (ok + nok) # { # 'input' => 0, # 'name' => 'in.max_nok (ok + ok)', # 'schema' => [ # 'bool', # 'in', # [ # [ # 0, # 1 # ], # [ # 0, # 1 # ] # ], # 'in.is_multi', # 1, # 'in.max_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 67 - in.max_nok (ok + ok) # { # 'input' => 1, # 'name' => 'min: 1 0', # 'schema' => [ # 'bool', # 'min', # 0 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 68 - min: 1 0 # { # 'input' => 1, # 'name' => 'min: 1 1', # 'schema' => [ # 'bool', # 'min', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 69 - min: 1 1 # { # 'input' => 0, # 'name' => 'min: 0 1 -> fail', # 'schema' => [ # 'bool', # 'min', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 70 - min: 0 1 -> fail # { # 'input' => 1, # 'name' => 'xmin: 1 0', # 'schema' => [ # 'bool', # 'xmin', # 0 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 71 - xmin: 1 0 # { # 'input' => 1, # 'name' => 'xmin: 1 1 -> fail', # 'schema' => [ # 'bool', # 'xmin', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 72 - xmin: 1 1 -> fail # { # 'input' => 0, # 'name' => 'xmin: 0 1 -> fail', # 'schema' => [ # 'bool', # 'xmin', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 73 - xmin: 0 1 -> fail # { # 'input' => 1, # 'name' => 'max: 1 0 -> fail', # 'schema' => [ # 'bool', # 'max', # 0 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 74 - max: 1 0 -> fail # { # 'input' => 1, # 'name' => 'max: 1 1', # 'schema' => [ # 'bool', # 'max', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 75 - max: 1 1 # { # 'input' => 0, # 'name' => 'max: 0 1', # 'schema' => [ # 'bool', # 'max', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 76 - max: 0 1 # { # 'input' => 1, # 'name' => 'xmax: 1 0 -> fail', # 'schema' => [ # 'bool', # 'xmax', # 0 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 77 - xmax: 1 0 -> fail # { # 'input' => 1, # 'name' => 'xmax: 1 1 -> fail', # 'schema' => [ # 'bool', # 'xmax', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 78 - xmax: 1 1 -> fail # { # 'input' => 0, # 'name' => 'xmax: 0 1', # 'schema' => [ # 'bool', # 'xmax', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 79 - xmax: 0 1 # { # 'input' => 1, # 'name' => 'between: 1 0 & 1', # 'schema' => [ # 'bool', # 'between', # [ # 0, # 1 # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 80 - between: 1 0 & 1 # { # 'input' => 1, # 'name' => 'between: 1 0 & 1', # 'schema' => [ # 'bool', # 'between', # [ # 0, # 1 # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 81 - between: 1 0 & 1 # { # 'input' => 1, # 'name' => 'between: 1 1 & 1', # 'schema' => [ # 'bool', # 'between', # [ # 1, # 1 # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 82 - between: 1 1 & 1 # { # 'input' => 0, # 'name' => 'between: 0 1 & 1 -> fail', # 'schema' => [ # 'bool', # 'between', # [ # 1, # 1 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 83 - between: 0 1 & 1 -> fail # { # 'input' => 1, # 'name' => 'xbetween: 1 0 & 1', # 'schema' => [ # 'bool', # 'xbetween', # [ # 0, # 1 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 84 - xbetween: 1 0 & 1 # { # 'input' => 1, # 'name' => 'xbetween: 1 0 & 1 -> fail', # 'schema' => [ # 'bool', # 'xbetween', # [ # 0, # 1 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 85 - xbetween: 1 0 & 1 -> fail # { # 'input' => 1, # 'name' => 'xbetween: 1 1 & 1 -> fail', # 'schema' => [ # 'bool', # 'xbetween', # [ # 1, # 1 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 86 - xbetween: 1 1 & 1 -> fail # { # 'input' => 0, # 'name' => 'xbetween: 0 1 & 1 -> fail', # 'schema' => [ # 'bool', # 'xbetween', # [ # 1, # 1 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 87 - xbetween: 0 1 & 1 -> fail # { # 'input' => 1, # 'name' => 'is_true: 1 (ok)', # 'schema' => [ # 'bool', # 'is_true', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 88 - is_true: 1 (ok) # { # 'input' => 0, # 'name' => 'is_true: 1 (nok)', # 'schema' => [ # 'bool', # 'is_true', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 89 - is_true: 1 (nok) # { # 'input' => 0, # 'name' => 'is_true: 0 (ok)', # 'schema' => [ # 'bool', # 'is_true', # 0 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 90 - is_true: 0 (ok) # { # 'input' => 1, # 'name' => 'is_true: 0 (nok)', # 'schema' => [ # 'bool', # 'is_true', # 0 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 91 - is_true: 0 (nok) # { # 'input' => 0, # 'name' => 'is_true: undef (ok 1)', # 'schema' => [ # 'bool', # 'is_true', # undef # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 92 - is_true: undef (ok 1) # { # 'input' => 1, # 'name' => 'is_true: undef (ok 2)', # 'schema' => [ # 'bool', # 'is_true', # undef # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 93 - is_true: undef (ok 2) 1..93 ok 6 - 10-type-bool.yaml # Test version: v0.9.17 (generated by devscripts/gen-type-spectest on Tue Nov 20 09:17:04 2012) # { # 'input' => '-1.1', # 'name' => 'type check: must accept -1.1', # 'schema' => 'float', # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 1 - type check: must accept -1.1 # { # 'input' => -1, # 'name' => 'type check: must accept -1', # 'schema' => 'float', # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 2 - type check: must accept -1 # { # 'input' => 0, # 'name' => 'type check: must accept 0', # 'schema' => 'float', # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 3 - type check: must accept 0 # { # 'input' => 1, # 'name' => 'type check: must accept 1', # 'schema' => 'float', # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 4 - type check: must accept 1 # { # 'input' => '1.1', # 'name' => 'type check: must accept 1.1', # 'schema' => 'float', # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 5 - type check: must accept 1.1 # { # 'input' => 'a', # 'name' => 'type check: must reject a', # 'schema' => 'float', # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 6 - type check: must reject a # { # 'input' => [], # 'name' => 'type check: must reject []', # 'schema' => 'float', # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 7 - type check: must reject [] # { # 'input' => {}, # 'name' => 'type check: must reject {}', # 'schema' => 'float', # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 8 - type check: must reject {} # { # 'input' => undef, # 'name' => 'must accept undefined value', # 'schema' => 'float', # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 9 - must accept undefined value # { # 'input' => undef, # 'name' => 'req=0 must accept undefined value', # 'schema' => [ # 'float', # 'req', # 0 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 10 - req=0 must accept undefined value # { # 'input' => undef, # 'name' => 'req=1 must reject undefined value', # 'schema' => [ # 'float', # 'req', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 11 - req=1 must reject undefined value # { # 'input' => '1.1', # 'name' => 'forbidden=0 must accept defined value', # 'schema' => [ # 'float', # 'forbidden', # 0 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 12 - forbidden=0 must accept defined value # { # 'input' => '1.1', # 'name' => 'forbidden=1 must reject defined value', # 'schema' => [ # 'float', # 'forbidden', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 13 - forbidden=1 must reject defined value # { # 'input' => undef, # 'name' => 'default: must accept valid default 1.1', # 'schema' => [ # 'float*', # 'default', # '1.1' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 14 - default: must accept valid default 1.1 # { # 'input' => undef, # 'name' => 'default: must reject invalid default []', # 'schema' => [ # 'float*', # 'default', # [] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 15 - default: must reject invalid default [] # { # 'input' => '0.1', # 'name' => '.err_level=error (clause=min, ok)', # 'schema' => [ # 'float', # 'min', # 0 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 16 - .err_level=error (clause=min, ok) # { # 'input' => '-0.1', # 'name' => '.err_level=error (clause=min, nok)', # 'schema' => [ # 'float', # 'min', # 0 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 17 - .err_level=error (clause=min, nok) # { # 'input' => '0.1', # 'name' => '.err_level=warn (clause=min, ok)', # 'schema' => [ # 'float', # 'min', # 0, # 'min.err_level', # 'warn' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 18 - .err_level=warn (clause=min, ok) # { # 'input' => '-0.1', # 'name' => '.err_level=warn (clause=min, nok)', # 'schema' => [ # 'float*', # 'min', # 0, # 'min.err_level', # 'warn' # ], # 'valid' => 1, # 'warnings' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 19 - .err_level=warn (clause=min, nok) # { # 'input' => '1.1', # 'name' => 'is: must accept same value', # 'schema' => [ # 'float', # 'is', # '1.1' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 20 - is: must accept same value # { # 'input' => '1.1', # 'name' => 'is: must reject different value', # 'schema' => [ # 'float', # 'is', # '1.2' # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 21 - is: must reject different value # { # 'input' => '1.1', # 'name' => '!is: (nok)', # 'schema' => [ # 'float', # '!is', # '1.1' # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 22 - !is: (nok) # { # 'input' => '1.1', # 'name' => '!is: (ok)', # 'schema' => [ # 'float', # '!is', # '1.2' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 23 - !is: (ok) # { # 'input' => '1.1', # 'name' => 'is&: (no items)', # 'schema' => [ # 'float', # 'is&', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 24 - is&: (no items) # { # 'input' => '1.1', # 'name' => 'is&: (ok)', # 'schema' => [ # 'float', # 'is&', # [ # '1.1', # '1.1' # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 25 - is&: (ok) # { # 'errors' => 1, # 'input' => '1.1', # 'name' => 'is&: (nok + ok)', # 'schema' => [ # 'float', # 'is&', # [ # '1.2', # '1.1' # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 26 - is&: (nok + ok) # { # 'errors' => 1, # 'input' => '1.1', # 'name' => 'is&: (ok + nok)', # 'schema' => [ # 'float', # 'is&', # [ # '1.1', # '1.2' # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 27 - is&: (ok + nok) # { # 'errors' => 2, # 'input' => '1.1', # 'name' => 'is&: (nok + nok)', # 'schema' => [ # 'float', # 'is&', # [ # '1.2', # '1.2' # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 28 - is&: (nok + nok) # { # 'input' => '1.1', # 'name' => 'is|: (no items)', # 'schema' => [ # 'float', # 'is|', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 29 - is|: (no items) # { # 'input' => '1.1', # 'name' => 'is|: (ok)', # 'schema' => [ # 'float', # 'is|', # [ # '1.1', # '1.1' # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 30 - is|: (ok) # { # 'input' => '1.1', # 'name' => 'is|: (nok + ok)', # 'schema' => [ # 'float', # 'is|', # [ # '1.2', # '1.1' # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 31 - is|: (nok + ok) # { # 'input' => '1.1', # 'name' => 'is|: (ok + nok)', # 'schema' => [ # 'float', # 'is|', # [ # '1.1', # '1.2' # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 32 - is|: (ok + nok) # { # 'errors' => 1, # 'input' => '1.1', # 'name' => 'is|: (nok + nok)', # 'schema' => [ # 'float', # 'is|', # [ # '1.2', # '1.2' # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 33 - is|: (nok + nok) # { # 'input' => '1.1', # 'name' => 'is.min_ok (nok + nok)', # 'schema' => [ # 'float', # 'is', # [ # '1.2', # '1.2' # ], # 'is.is_multi', # 1, # 'is.min_ok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 34 - is.min_ok (nok + nok) # { # 'input' => '1.1', # 'name' => 'is.min_ok (ok + nok)', # 'schema' => [ # 'float', # 'is', # [ # '1.1', # '1.2' # ], # 'is.is_multi', # 1, # 'is.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 35 - is.min_ok (ok + nok) # { # 'input' => '1.1', # 'name' => 'is.min_ok (ok + ok)', # 'schema' => [ # 'float', # 'is', # [ # '1.1', # '1.1' # ], # 'is.is_multi', # 1, # 'is.min_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 36 - is.min_ok (ok + ok) # { # 'input' => '1.1', # 'name' => 'is.max_ok (nok + nok)', # 'schema' => [ # 'float', # 'is', # [ # '1.2', # '1.2' # ], # 'is.is_multi', # 1, # 'is.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 37 - is.max_ok (nok + nok) # { # 'input' => '1.1', # 'name' => 'is.max_ok (ok + nok)', # 'schema' => [ # 'float', # 'is', # [ # '1.1', # '1.2' # ], # 'is.is_multi', # 1, # 'is.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 38 - is.max_ok (ok + nok) # { # 'input' => '1.1', # 'name' => 'is.max_ok (ok + ok)', # 'schema' => [ # 'float', # 'is', # [ # '1.1', # '1.1' # ], # 'is.is_multi', # 1, # 'is.max_ok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 39 - is.max_ok (ok + ok) # { # 'input' => '1.1', # 'name' => 'is.min_nok (nok + nok)', # 'schema' => [ # 'float', # 'is', # [ # '1.2', # '1.2' # ], # 'is.is_multi', # 1, # 'is.min_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 40 - is.min_nok (nok + nok) # { # 'input' => '1.1', # 'name' => 'is.min_nok (ok + nok)', # 'schema' => [ # 'float', # 'is', # [ # '1.1', # '1.2' # ], # 'is.is_multi', # 1, # 'is.min_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 41 - is.min_nok (ok + nok) # { # 'input' => '1.1', # 'name' => 'is.min_nok (ok + ok)', # 'schema' => [ # 'float', # 'is', # [ # '1.1', # '1.1' # ], # 'is.is_multi', # 1, # 'is.min_nok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 42 - is.min_nok (ok + ok) # { # 'input' => '1.1', # 'name' => 'is.max_nok (nok + nok)', # 'schema' => [ # 'float', # 'is', # [ # '1.2', # '1.2' # ], # 'is.is_multi', # 1, # 'is.max_nok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 43 - is.max_nok (nok + nok) # { # 'input' => '1.1', # 'name' => 'is.max_nok (ok + nok)', # 'schema' => [ # 'float', # 'is', # [ # '1.1', # '1.2' # ], # 'is.is_multi', # 1, # 'is.max_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 44 - is.max_nok (ok + nok) # { # 'input' => '1.1', # 'name' => 'is.max_nok (ok + ok)', # 'schema' => [ # 'float', # 'is', # [ # '1.1', # '1.1' # ], # 'is.is_multi', # 1, # 'is.max_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 45 - is.max_nok (ok + ok) # { # 'input' => '1.1', # 'name' => 'in: must accept valid choices', # 'schema' => [ # 'float', # 'in', # [ # '1.1', # '1.2' # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 46 - in: must accept valid choices # { # 'input' => '1.1', # 'name' => 'in: must reject empty choices', # 'schema' => [ # 'float', # 'in', # [] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 47 - in: must reject empty choices # { # 'input' => '1.1', # 'name' => '!in: (nok)', # 'schema' => [ # 'float', # '!in', # [ # '1.1', # '1.2' # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 48 - !in: (nok) # { # 'input' => '1.1', # 'name' => '!in: (ok)', # 'schema' => [ # 'float', # '!in', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 49 - !in: (ok) # { # 'input' => '1.1', # 'name' => 'in&: (no items)', # 'schema' => [ # 'float', # 'in&', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 50 - in&: (no items) # { # 'input' => '1.1', # 'name' => 'in&: (ok)', # 'schema' => [ # 'float', # 'in&', # [ # [ # '1.1', # '1.2' # ], # [ # '1.1', # '1.2' # ] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 51 - in&: (ok) # { # 'errors' => 1, # 'input' => '1.1', # 'name' => 'in&: (nok + ok)', # 'schema' => [ # 'float', # 'in&', # [ # [], # [ # '1.1', # '1.2' # ] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 52 - in&: (nok + ok) # { # 'errors' => 1, # 'input' => '1.1', # 'name' => 'in&: (ok + nok)', # 'schema' => [ # 'float', # 'in&', # [ # [ # '1.1', # '1.2' # ], # [] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 53 - in&: (ok + nok) # { # 'errors' => 2, # 'input' => '1.1', # 'name' => 'in&: (nok + nok)', # 'schema' => [ # 'float', # 'in&', # [ # [], # [] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 54 - in&: (nok + nok) # { # 'input' => '1.1', # 'name' => 'in|: (no items)', # 'schema' => [ # 'float', # 'in|', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 55 - in|: (no items) # { # 'input' => '1.1', # 'name' => 'in|: (ok)', # 'schema' => [ # 'float', # 'in|', # [ # [ # '1.1', # '1.2' # ], # [ # '1.1', # '1.2' # ] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 56 - in|: (ok) # { # 'input' => '1.1', # 'name' => 'in|: (nok + ok)', # 'schema' => [ # 'float', # 'in|', # [ # [], # [ # '1.1', # '1.2' # ] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 57 - in|: (nok + ok) # { # 'input' => '1.1', # 'name' => 'in|: (ok + nok)', # 'schema' => [ # 'float', # 'in|', # [ # [ # '1.1', # '1.2' # ], # [] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 58 - in|: (ok + nok) # { # 'errors' => 1, # 'input' => '1.1', # 'name' => 'in|: (nok + nok)', # 'schema' => [ # 'float', # 'in|', # [ # [], # [] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 59 - in|: (nok + nok) # { # 'input' => '1.1', # 'name' => 'in.min_ok (nok + nok)', # 'schema' => [ # 'float', # 'in', # [ # [], # [] # ], # 'in.is_multi', # 1, # 'in.min_ok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 60 - in.min_ok (nok + nok) # { # 'input' => '1.1', # 'name' => 'in.min_ok (ok + nok)', # 'schema' => [ # 'float', # 'in', # [ # [ # '1.1', # '1.2' # ], # [] # ], # 'in.is_multi', # 1, # 'in.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 61 - in.min_ok (ok + nok) # { # 'input' => '1.1', # 'name' => 'in.min_ok (ok + ok)', # 'schema' => [ # 'float', # 'in', # [ # [ # '1.1', # '1.2' # ], # [ # '1.1', # '1.2' # ] # ], # 'in.is_multi', # 1, # 'in.min_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 62 - in.min_ok (ok + ok) # { # 'input' => '1.1', # 'name' => 'in.max_ok (nok + nok)', # 'schema' => [ # 'float', # 'in', # [ # [], # [] # ], # 'in.is_multi', # 1, # 'in.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 63 - in.max_ok (nok + nok) # { # 'input' => '1.1', # 'name' => 'in.max_ok (ok + nok)', # 'schema' => [ # 'float', # 'in', # [ # [ # '1.1', # '1.2' # ], # [] # ], # 'in.is_multi', # 1, # 'in.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 64 - in.max_ok (ok + nok) # { # 'input' => '1.1', # 'name' => 'in.max_ok (ok + ok)', # 'schema' => [ # 'float', # 'in', # [ # [ # '1.1', # '1.2' # ], # [ # '1.1', # '1.2' # ] # ], # 'in.is_multi', # 1, # 'in.max_ok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 65 - in.max_ok (ok + ok) # { # 'input' => '1.1', # 'name' => 'in.min_nok (nok + nok)', # 'schema' => [ # 'float', # 'in', # [ # [], # [] # ], # 'in.is_multi', # 1, # 'in.min_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 66 - in.min_nok (nok + nok) # { # 'input' => '1.1', # 'name' => 'in.min_nok (ok + nok)', # 'schema' => [ # 'float', # 'in', # [ # [ # '1.1', # '1.2' # ], # [] # ], # 'in.is_multi', # 1, # 'in.min_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 67 - in.min_nok (ok + nok) # { # 'input' => '1.1', # 'name' => 'in.min_nok (ok + ok)', # 'schema' => [ # 'float', # 'in', # [ # [ # '1.1', # '1.2' # ], # [ # '1.1', # '1.2' # ] # ], # 'in.is_multi', # 1, # 'in.min_nok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 68 - in.min_nok (ok + ok) # { # 'input' => '1.1', # 'name' => 'in.max_nok (nok + nok)', # 'schema' => [ # 'float', # 'in', # [ # [], # [] # ], # 'in.is_multi', # 1, # 'in.max_nok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 69 - in.max_nok (nok + nok) # { # 'input' => '1.1', # 'name' => 'in.max_nok (ok + nok)', # 'schema' => [ # 'float', # 'in', # [ # [ # '1.1', # '1.2' # ], # [] # ], # 'in.is_multi', # 1, # 'in.max_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 70 - in.max_nok (ok + nok) # { # 'input' => '1.1', # 'name' => 'in.max_nok (ok + ok)', # 'schema' => [ # 'float', # 'in', # [ # [ # '1.1', # '1.2' # ], # [ # '1.1', # '1.2' # ] # ], # 'in.is_multi', # 1, # 'in.max_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 71 - in.max_nok (ok + ok) # { # 'input' => '2.1', # 'name' => 'min: 2.1 -3.1', # 'schema' => [ # 'float', # 'min', # '-3.1' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 72 - min: 2.1 -3.1 # { # 'input' => '2.1', # 'name' => 'min: 2.1 2.1', # 'schema' => [ # 'float', # 'min', # '2.1' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 73 - min: 2.1 2.1 # { # 'input' => '-3.1', # 'name' => 'min: -3.1 2.1 -> fail', # 'schema' => [ # 'float', # 'min', # '2.1' # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 74 - min: -3.1 2.1 -> fail # { # 'input' => '2.1', # 'name' => 'xmin: 2.1 -3.1', # 'schema' => [ # 'float', # 'xmin', # '-3.1' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 75 - xmin: 2.1 -3.1 # { # 'input' => '2.1', # 'name' => 'xmin: 2.1 2.1 -> fail', # 'schema' => [ # 'float', # 'xmin', # '2.1' # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 76 - xmin: 2.1 2.1 -> fail # { # 'input' => '-3.1', # 'name' => 'xmin: -3.1 2.1 -> fail', # 'schema' => [ # 'float', # 'xmin', # '2.1' # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 77 - xmin: -3.1 2.1 -> fail # { # 'input' => '2.1', # 'name' => 'max: 2.1 -3.1 -> fail', # 'schema' => [ # 'float', # 'max', # '-3.1' # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 78 - max: 2.1 -3.1 -> fail # { # 'input' => '2.1', # 'name' => 'max: 2.1 2.1', # 'schema' => [ # 'float', # 'max', # '2.1' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 79 - max: 2.1 2.1 # { # 'input' => '-3.1', # 'name' => 'max: -3.1 2.1', # 'schema' => [ # 'float', # 'max', # '2.1' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 80 - max: -3.1 2.1 # { # 'input' => '2.1', # 'name' => 'xmax: 2.1 -3.1 -> fail', # 'schema' => [ # 'float', # 'xmax', # '-3.1' # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 81 - xmax: 2.1 -3.1 -> fail # { # 'input' => '2.1', # 'name' => 'xmax: 2.1 2.1 -> fail', # 'schema' => [ # 'float', # 'xmax', # '2.1' # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 82 - xmax: 2.1 2.1 -> fail # { # 'input' => '-3.1', # 'name' => 'xmax: -3.1 2.1', # 'schema' => [ # 'float', # 'xmax', # '2.1' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 83 - xmax: -3.1 2.1 # { # 'input' => '2.1', # 'name' => 'between: 2.1 -3.1 & 4.1', # 'schema' => [ # 'float', # 'between', # [ # '-3.1', # '4.1' # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 84 - between: 2.1 -3.1 & 4.1 # { # 'input' => '2.1', # 'name' => 'between: 2.1 -3.1 & 2.1', # 'schema' => [ # 'float', # 'between', # [ # '-3.1', # '2.1' # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 85 - between: 2.1 -3.1 & 2.1 # { # 'input' => '2.1', # 'name' => 'between: 2.1 2.1 & 2.1', # 'schema' => [ # 'float', # 'between', # [ # '2.1', # '2.1' # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 86 - between: 2.1 2.1 & 2.1 # { # 'input' => '-3.1', # 'name' => 'between: -3.1 2.1 & 4.1 -> fail', # 'schema' => [ # 'float', # 'between', # [ # '2.1', # '4.1' # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 87 - between: -3.1 2.1 & 4.1 -> fail # { # 'input' => '2.1', # 'name' => 'xbetween: 2.1 -3.1 & 4.1', # 'schema' => [ # 'float', # 'xbetween', # [ # '-3.1', # '4.1' # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 88 - xbetween: 2.1 -3.1 & 4.1 # { # 'input' => '2.1', # 'name' => 'xbetween: 2.1 -3.1 & 2.1 -> fail', # 'schema' => [ # 'float', # 'xbetween', # [ # '-3.1', # '2.1' # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 89 - xbetween: 2.1 -3.1 & 2.1 -> fail # { # 'input' => '2.1', # 'name' => 'xbetween: 2.1 2.1 & 2.1 -> fail', # 'schema' => [ # 'float', # 'xbetween', # [ # '2.1', # '2.1' # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 90 - xbetween: 2.1 2.1 & 2.1 -> fail # { # 'input' => '-3.1', # 'name' => 'xbetween: -3.1 2.1 & 4.1 -> fail', # 'schema' => [ # 'float', # 'xbetween', # [ # '2.1', # '4.1' # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 91 - xbetween: -3.1 2.1 & 4.1 -> fail 1..91 ok 7 - 10-type-float.yaml # Test version: v0.9.17 (generated by devscripts/gen-type-spectest on Tue Nov 20 09:17:04 2012) # { # 'input' => {}, # 'name' => 'type check: must accept {}', # 'schema' => 'hash', # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 1 - type check: must accept {} # { # 'input' => { # 'a' => 1 # }, # 'name' => 'type check: must accept a: 1', # 'schema' => 'hash', # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 2 - type check: must accept a: 1 # { # 'input' => { # '' => [] # }, # 'name' => 'type check: must accept "": []', # 'schema' => 'hash', # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 3 - type check: must accept "": [] # { # 'input' => 1, # 'name' => 'type check: must reject 1', # 'schema' => 'hash', # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 4 - type check: must reject 1 # { # 'input' => 'a', # 'name' => 'type check: must reject a', # 'schema' => 'hash', # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 5 - type check: must reject a # { # 'input' => [], # 'name' => 'type check: must reject []', # 'schema' => 'hash', # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 6 - type check: must reject [] # { # 'input' => undef, # 'name' => 'must accept undefined value', # 'schema' => 'hash', # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 7 - must accept undefined value # { # 'input' => undef, # 'name' => 'req=0 must accept undefined value', # 'schema' => [ # 'hash', # 'req', # 0 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 8 - req=0 must accept undefined value # { # 'input' => undef, # 'name' => 'req=1 must reject undefined value', # 'schema' => [ # 'hash', # 'req', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 9 - req=1 must reject undefined value # { # 'input' => {}, # 'name' => 'forbidden=0 must accept defined value', # 'schema' => [ # 'hash', # 'forbidden', # 0 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 10 - forbidden=0 must accept defined value # { # 'input' => {}, # 'name' => 'forbidden=1 must reject defined value', # 'schema' => [ # 'hash', # 'forbidden', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 11 - forbidden=1 must reject defined value # { # 'input' => undef, # 'name' => 'default: must accept valid default {}', # 'schema' => [ # 'hash*', # 'default', # {} # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 12 - default: must accept valid default {} # { # 'input' => undef, # 'name' => 'default: must reject invalid default a', # 'schema' => [ # 'hash*', # 'default', # 'a' # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 13 - default: must reject invalid default a # { # 'input' => { # 'a' => 0 # }, # 'name' => '.err_level=error (clause=is, ok)', # 'schema' => [ # 'hash', # 'is', # { # 'a' => 0 # } # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 14 - .err_level=error (clause=is, ok) # { # 'input' => { # 'a' => 1 # }, # 'name' => '.err_level=error (clause=is, nok)', # 'schema' => [ # 'hash', # 'is', # { # 'a' => 0 # } # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 15 - .err_level=error (clause=is, nok) # { # 'input' => { # 'a' => 0 # }, # 'name' => '.err_level=warn (clause=is, ok)', # 'schema' => [ # 'hash', # 'is', # { # 'a' => 0 # }, # 'is.err_level', # 'warn' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 16 - .err_level=warn (clause=is, ok) # { # 'input' => { # 'a' => 1 # }, # 'name' => '.err_level=warn (clause=is, nok)', # 'schema' => [ # 'hash*', # 'is', # { # 'a' => 0 # }, # 'is.err_level', # 'warn' # ], # 'valid' => 1, # 'warnings' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 17 - .err_level=warn (clause=is, nok) # { # 'input' => {}, # 'name' => 'is: must accept same value', # 'schema' => [ # 'hash', # 'is', # $VAR1->{'input'} # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 18 - is: must accept same value # { # 'input' => {}, # 'name' => 'is: must reject different value', # 'schema' => [ # 'hash', # 'is', # { # 'a' => 1 # } # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 19 - is: must reject different value # { # 'input' => {}, # 'name' => '!is: (nok)', # 'schema' => [ # 'hash', # '!is', # $VAR1->{'input'} # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 20 - !is: (nok) # { # 'input' => {}, # 'name' => '!is: (ok)', # 'schema' => [ # 'hash', # '!is', # { # 'a' => 1 # } # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 21 - !is: (ok) # { # 'input' => {}, # 'name' => 'is&: (no items)', # 'schema' => [ # 'hash', # 'is&', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 22 - is&: (no items) # { # 'input' => {}, # 'name' => 'is&: (ok)', # 'schema' => [ # 'hash', # 'is&', # [ # $VAR1->{'input'}, # $VAR1->{'input'} # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 23 - is&: (ok) # { # 'errors' => 1, # 'input' => {}, # 'name' => 'is&: (nok + ok)', # 'schema' => [ # 'hash', # 'is&', # [ # { # 'a' => 1 # }, # $VAR1->{'input'} # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 24 - is&: (nok + ok) # { # 'errors' => 1, # 'input' => {}, # 'name' => 'is&: (ok + nok)', # 'schema' => [ # 'hash', # 'is&', # [ # $VAR1->{'input'}, # { # 'a' => 1 # } # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 25 - is&: (ok + nok) # { # 'errors' => 2, # 'input' => {}, # 'name' => 'is&: (nok + nok)', # 'schema' => [ # 'hash', # 'is&', # [ # { # 'a' => 1 # }, # $VAR1->{'schema'}[2][0] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 26 - is&: (nok + nok) # { # 'input' => {}, # 'name' => 'is|: (no items)', # 'schema' => [ # 'hash', # 'is|', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 27 - is|: (no items) # { # 'input' => {}, # 'name' => 'is|: (ok)', # 'schema' => [ # 'hash', # 'is|', # [ # $VAR1->{'input'}, # $VAR1->{'input'} # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 28 - is|: (ok) # { # 'input' => {}, # 'name' => 'is|: (nok + ok)', # 'schema' => [ # 'hash', # 'is|', # [ # { # 'a' => 1 # }, # $VAR1->{'input'} # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 29 - is|: (nok + ok) # { # 'input' => {}, # 'name' => 'is|: (ok + nok)', # 'schema' => [ # 'hash', # 'is|', # [ # $VAR1->{'input'}, # { # 'a' => 1 # } # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 30 - is|: (ok + nok) # { # 'errors' => 1, # 'input' => {}, # 'name' => 'is|: (nok + nok)', # 'schema' => [ # 'hash', # 'is|', # [ # { # 'a' => 1 # }, # $VAR1->{'schema'}[2][0] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 31 - is|: (nok + nok) # { # 'input' => {}, # 'name' => 'is.min_ok (nok + nok)', # 'schema' => [ # 'hash', # 'is', # [ # { # 'a' => 1 # }, # $VAR1->{'schema'}[2][0] # ], # 'is.is_multi', # 1, # 'is.min_ok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 32 - is.min_ok (nok + nok) # { # 'input' => {}, # 'name' => 'is.min_ok (ok + nok)', # 'schema' => [ # 'hash', # 'is', # [ # $VAR1->{'input'}, # { # 'a' => 1 # } # ], # 'is.is_multi', # 1, # 'is.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 33 - is.min_ok (ok + nok) # { # 'input' => {}, # 'name' => 'is.min_ok (ok + ok)', # 'schema' => [ # 'hash', # 'is', # [ # $VAR1->{'input'}, # $VAR1->{'input'} # ], # 'is.is_multi', # 1, # 'is.min_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 34 - is.min_ok (ok + ok) # { # 'input' => {}, # 'name' => 'is.max_ok (nok + nok)', # 'schema' => [ # 'hash', # 'is', # [ # { # 'a' => 1 # }, # $VAR1->{'schema'}[2][0] # ], # 'is.is_multi', # 1, # 'is.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 35 - is.max_ok (nok + nok) # { # 'input' => {}, # 'name' => 'is.max_ok (ok + nok)', # 'schema' => [ # 'hash', # 'is', # [ # $VAR1->{'input'}, # { # 'a' => 1 # } # ], # 'is.is_multi', # 1, # 'is.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 36 - is.max_ok (ok + nok) # { # 'input' => {}, # 'name' => 'is.max_ok (ok + ok)', # 'schema' => [ # 'hash', # 'is', # [ # $VAR1->{'input'}, # $VAR1->{'input'} # ], # 'is.is_multi', # 1, # 'is.max_ok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 37 - is.max_ok (ok + ok) # { # 'input' => {}, # 'name' => 'is.min_nok (nok + nok)', # 'schema' => [ # 'hash', # 'is', # [ # { # 'a' => 1 # }, # $VAR1->{'schema'}[2][0] # ], # 'is.is_multi', # 1, # 'is.min_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 38 - is.min_nok (nok + nok) # { # 'input' => {}, # 'name' => 'is.min_nok (ok + nok)', # 'schema' => [ # 'hash', # 'is', # [ # $VAR1->{'input'}, # { # 'a' => 1 # } # ], # 'is.is_multi', # 1, # 'is.min_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 39 - is.min_nok (ok + nok) # { # 'input' => {}, # 'name' => 'is.min_nok (ok + ok)', # 'schema' => [ # 'hash', # 'is', # [ # $VAR1->{'input'}, # $VAR1->{'input'} # ], # 'is.is_multi', # 1, # 'is.min_nok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 40 - is.min_nok (ok + ok) # { # 'input' => {}, # 'name' => 'is.max_nok (nok + nok)', # 'schema' => [ # 'hash', # 'is', # [ # { # 'a' => 1 # }, # $VAR1->{'schema'}[2][0] # ], # 'is.is_multi', # 1, # 'is.max_nok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 41 - is.max_nok (nok + nok) # { # 'input' => {}, # 'name' => 'is.max_nok (ok + nok)', # 'schema' => [ # 'hash', # 'is', # [ # $VAR1->{'input'}, # { # 'a' => 1 # } # ], # 'is.is_multi', # 1, # 'is.max_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 42 - is.max_nok (ok + nok) # { # 'input' => {}, # 'name' => 'is.max_nok (ok + ok)', # 'schema' => [ # 'hash', # 'is', # [ # $VAR1->{'input'}, # $VAR1->{'input'} # ], # 'is.is_multi', # 1, # 'is.max_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 43 - is.max_nok (ok + ok) # { # 'input' => {}, # 'name' => 'in: must accept valid choices', # 'schema' => [ # 'hash', # 'in', # [ # $VAR1->{'input'}, # { # 'a' => 1 # } # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 44 - in: must accept valid choices # { # 'input' => {}, # 'name' => 'in: must reject empty choices', # 'schema' => [ # 'hash', # 'in', # [] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 45 - in: must reject empty choices # { # 'input' => {}, # 'name' => '!in: (nok)', # 'schema' => [ # 'hash', # '!in', # [ # $VAR1->{'input'}, # { # 'a' => 1 # } # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 46 - !in: (nok) # { # 'input' => {}, # 'name' => '!in: (ok)', # 'schema' => [ # 'hash', # '!in', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 47 - !in: (ok) # { # 'input' => {}, # 'name' => 'in&: (no items)', # 'schema' => [ # 'hash', # 'in&', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 48 - in&: (no items) # { # 'input' => {}, # 'name' => 'in&: (ok)', # 'schema' => [ # 'hash', # 'in&', # [ # [ # $VAR1->{'input'}, # { # 'a' => 1 # } # ], # [ # {}, # { # 'a' => 1 # } # ] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 49 - in&: (ok) # { # 'errors' => 1, # 'input' => {}, # 'name' => 'in&: (nok + ok)', # 'schema' => [ # 'hash', # 'in&', # [ # [], # [ # $VAR1->{'input'}, # { # 'a' => 1 # } # ] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 50 - in&: (nok + ok) # { # 'errors' => 1, # 'input' => {}, # 'name' => 'in&: (ok + nok)', # 'schema' => [ # 'hash', # 'in&', # [ # [ # $VAR1->{'input'}, # { # 'a' => 1 # } # ], # [] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 51 - in&: (ok + nok) # { # 'errors' => 2, # 'input' => {}, # 'name' => 'in&: (nok + nok)', # 'schema' => [ # 'hash', # 'in&', # [ # [], # [] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 52 - in&: (nok + nok) # { # 'input' => {}, # 'name' => 'in|: (no items)', # 'schema' => [ # 'hash', # 'in|', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 53 - in|: (no items) # { # 'input' => {}, # 'name' => 'in|: (ok)', # 'schema' => [ # 'hash', # 'in|', # [ # [ # $VAR1->{'input'}, # { # 'a' => 1 # } # ], # [ # {}, # { # 'a' => 1 # } # ] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 54 - in|: (ok) # { # 'input' => {}, # 'name' => 'in|: (nok + ok)', # 'schema' => [ # 'hash', # 'in|', # [ # [], # [ # $VAR1->{'input'}, # { # 'a' => 1 # } # ] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 55 - in|: (nok + ok) # { # 'input' => {}, # 'name' => 'in|: (ok + nok)', # 'schema' => [ # 'hash', # 'in|', # [ # [ # $VAR1->{'input'}, # { # 'a' => 1 # } # ], # [] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 56 - in|: (ok + nok) # { # 'errors' => 1, # 'input' => {}, # 'name' => 'in|: (nok + nok)', # 'schema' => [ # 'hash', # 'in|', # [ # [], # [] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 57 - in|: (nok + nok) # { # 'input' => {}, # 'name' => 'in.min_ok (nok + nok)', # 'schema' => [ # 'hash', # 'in', # [ # [], # [] # ], # 'in.is_multi', # 1, # 'in.min_ok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 58 - in.min_ok (nok + nok) # { # 'input' => {}, # 'name' => 'in.min_ok (ok + nok)', # 'schema' => [ # 'hash', # 'in', # [ # [ # $VAR1->{'input'}, # { # 'a' => 1 # } # ], # [] # ], # 'in.is_multi', # 1, # 'in.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 59 - in.min_ok (ok + nok) # { # 'input' => {}, # 'name' => 'in.min_ok (ok + ok)', # 'schema' => [ # 'hash', # 'in', # [ # [ # $VAR1->{'input'}, # { # 'a' => 1 # } # ], # [ # {}, # { # 'a' => 1 # } # ] # ], # 'in.is_multi', # 1, # 'in.min_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 60 - in.min_ok (ok + ok) # { # 'input' => {}, # 'name' => 'in.max_ok (nok + nok)', # 'schema' => [ # 'hash', # 'in', # [ # [], # [] # ], # 'in.is_multi', # 1, # 'in.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 61 - in.max_ok (nok + nok) # { # 'input' => {}, # 'name' => 'in.max_ok (ok + nok)', # 'schema' => [ # 'hash', # 'in', # [ # [ # $VAR1->{'input'}, # { # 'a' => 1 # } # ], # [] # ], # 'in.is_multi', # 1, # 'in.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 62 - in.max_ok (ok + nok) # { # 'input' => {}, # 'name' => 'in.max_ok (ok + ok)', # 'schema' => [ # 'hash', # 'in', # [ # [ # $VAR1->{'input'}, # { # 'a' => 1 # } # ], # [ # {}, # { # 'a' => 1 # } # ] # ], # 'in.is_multi', # 1, # 'in.max_ok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 63 - in.max_ok (ok + ok) # { # 'input' => {}, # 'name' => 'in.min_nok (nok + nok)', # 'schema' => [ # 'hash', # 'in', # [ # [], # [] # ], # 'in.is_multi', # 1, # 'in.min_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 64 - in.min_nok (nok + nok) # { # 'input' => {}, # 'name' => 'in.min_nok (ok + nok)', # 'schema' => [ # 'hash', # 'in', # [ # [ # $VAR1->{'input'}, # { # 'a' => 1 # } # ], # [] # ], # 'in.is_multi', # 1, # 'in.min_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 65 - in.min_nok (ok + nok) # { # 'input' => {}, # 'name' => 'in.min_nok (ok + ok)', # 'schema' => [ # 'hash', # 'in', # [ # [ # $VAR1->{'input'}, # { # 'a' => 1 # } # ], # [ # {}, # { # 'a' => 1 # } # ] # ], # 'in.is_multi', # 1, # 'in.min_nok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 66 - in.min_nok (ok + ok) # { # 'input' => {}, # 'name' => 'in.max_nok (nok + nok)', # 'schema' => [ # 'hash', # 'in', # [ # [], # [] # ], # 'in.is_multi', # 1, # 'in.max_nok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 67 - in.max_nok (nok + nok) # { # 'input' => {}, # 'name' => 'in.max_nok (ok + nok)', # 'schema' => [ # 'hash', # 'in', # [ # [ # $VAR1->{'input'}, # { # 'a' => 1 # } # ], # [] # ], # 'in.is_multi', # 1, # 'in.max_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 68 - in.max_nok (ok + nok) # { # 'input' => {}, # 'name' => 'in.max_nok (ok + ok)', # 'schema' => [ # 'hash', # 'in', # [ # [ # $VAR1->{'input'}, # { # 'a' => 1 # } # ], # [ # {}, # { # 'a' => 1 # } # ] # ], # 'in.is_multi', # 1, # 'in.max_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 69 - in.max_nok (ok + ok) # { # 'input' => { # 'a' => 1 # }, # 'name' => 'len (ok)', # 'schema' => [ # 'hash', # 'len', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 70 - len (ok) # { # 'input' => { # 'a' => 1 # }, # 'name' => 'len (nok)', # 'schema' => [ # 'hash', # 'len', # 2 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 71 - len (nok) # { # 'input' => { # 'a' => 1 # }, # 'name' => 'min_len (ok)', # 'schema' => [ # 'hash', # 'min_len', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 72 - min_len (ok) # { # 'input' => { # 'a' => 1 # }, # 'name' => 'min_len (nok)', # 'schema' => [ # 'hash', # 'min_len', # 2 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 73 - min_len (nok) # { # 'input' => { # 'a' => 1 # }, # 'name' => 'max_len (ok)', # 'schema' => [ # 'hash', # 'min_len', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 74 - max_len (ok) # { # 'input' => { # 'a' => 1, # 'b' => '1.1' # }, # 'name' => 'max_len (nok)', # 'schema' => [ # 'hash', # 'max_len', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 75 - max_len (nok) # { # 'input' => { # 'a' => 1 # }, # 'name' => 'len_between (ok)', # 'schema' => [ # 'hash', # 'len_between', # [ # 1, # 2 # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 76 - len_between (ok) # { # 'input' => { # 'a' => 1, # 'b' => '1.1' # }, # 'name' => 'len_between (nok)', # 'schema' => [ # 'hash', # 'len_between', # [ # 1, # 1 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 77 - len_between (nok) # { # 'input' => { # 'a' => 1, # 'b' => '1.1' # }, # 'name' => 'each_index (ok)', # 'schema' => [ # 'hash', # 'each_index', # [ # 'str', # 'len', # 1 # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 78 - each_index (ok) # { # 'input' => { # 'a' => 1, # 'b' => '1.1' # }, # 'name' => 'each_index (nok)', # 'schema' => [ # 'hash', # 'each_index', # [ # 'str', # 'len', # 2 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 79 - each_index (nok) # { # 'input' => { # 'a' => 1, # 'b' => '1.1' # }, # 'name' => 'each_elem (ok)', # 'schema' => [ # 'hash', # 'each_elem', # 'float' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 80 - each_elem (ok) # { # 'input' => { # 'a' => 1, # 'b' => '1.1' # }, # 'name' => 'each_elem (nok)', # 'schema' => [ # 'hash', # 'each_elem', # 'int' # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 81 - each_elem (nok) # { # 'input' => {}, # 'name' => 'keys: (ok, empty)', # 'schema' => [ # 'hash', # { # 'keys' => { # 'a' => 'int', # 'b' => 'float*' # } # } # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 82 - keys: (ok, empty) # { # 'input' => { # 'a' => undef # }, # 'name' => 'keys: (ok, only a, a valid 1)', # 'schema' => [ # 'hash', # { # 'keys' => { # 'a' => 'int', # 'b' => 'float*' # } # } # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 83 - keys: (ok, only a, a valid 1) # { # 'input' => { # 'a' => 1 # }, # 'name' => 'keys: (ok, only a, a valid 2)', # 'schema' => [ # 'hash', # { # 'keys' => { # 'a' => 'int', # 'b' => 'float*' # } # } # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 84 - keys: (ok, only a, a valid 2) # { # 'input' => { # 'a' => '1.1' # }, # 'name' => 'keys: (nok, only a, a invalid)', # 'schema' => [ # 'hash', # { # 'keys' => { # 'a' => 'int', # 'b' => 'float*' # } # } # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 85 - keys: (nok, only a, a invalid) # { # 'input' => { # 'a' => 1 # }, # 'name' => 'keys: (ok, only a, valid 2)', # 'schema' => [ # 'hash', # { # 'keys' => { # 'a' => 'int', # 'b' => 'float*' # } # } # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 86 - keys: (ok, only a, valid 2) # { # 'input' => { # 'a' => 1, # 'b' => '1.1' # }, # 'name' => 'keys: (ok, a & b, valid)', # 'schema' => [ # 'hash', # { # 'keys' => { # 'a' => 'int', # 'b' => 'float*' # } # } # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 87 - keys: (ok, a & b, valid) # { # 'input' => { # 'a' => 1, # 'b' => undef # }, # 'name' => 'keys: (nok, a & b, b invalid)', # 'schema' => [ # 'hash', # { # 'keys' => { # 'a' => 'int', # 'b' => 'float*' # } # } # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 88 - keys: (nok, a & b, b invalid) # { # 'input' => { # 'a' => '1.1', # 'b' => '1.1' # }, # 'name' => 'keys: (nok, a & b, a invalid)', # 'schema' => [ # 'hash', # { # 'keys' => { # 'a' => 'int', # 'b' => 'float*' # } # } # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 89 - keys: (nok, a & b, a invalid) # { # 'input' => { # 'a' => '1.1', # 'b' => undef # }, # 'name' => 'keys: (nok, a & b, a & b invalid)', # 'schema' => [ # 'hash', # { # 'keys' => { # 'a' => 'int', # 'b' => 'float*' # } # } # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 90 - keys: (nok, a & b, a & b invalid) # { # 'input' => { # 'a' => 1, # 'b' => '1.1', # 'c' => 1 # }, # 'name' => 'keys: (nok, extra)', # 'schema' => [ # 'hash', # { # 'keys' => { # 'a' => 'int', # 'b' => 'float*' # } # } # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 91 - keys: (nok, extra) # { # 'input' => { # 'a' => 1, # 'b' => '1.1', # 'c' => 1 # }, # 'name' => 'keys: (ok, extra, restrict=0)', # 'schema' => [ # 'hash', # { # 'keys' => { # 'a' => 'int', # 'b' => 'float*' # } # } # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 92 - keys: (ok, extra, restrict=0) # { # 'input' => {}, # 'name' => 'keys (create_default=1) 1', # 'output' => { # 'b' => 2 # }, # 'schema' => [ # 'hash', # { # 'keys' => { # 'a' => 'int', # 'b' => [ # 'int', # 'default', # 2 # ] # } # } # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - output ok 3 - valid (vrt=str) ok 4 - validator (vrt=full) returns hash ok 5 - errors (vrt=full) ok 6 - warnings (vrt=full) 1..6 ok 93 - keys (create_default=1) 1 # { # 'input' => { # 'b' => undef # }, # 'name' => 'keys (create_default=1) 2', # 'output' => { # 'b' => 2 # }, # 'schema' => [ # 'hash', # { # 'keys' => { # 'a' => 'int', # 'b' => [ # 'int', # 'default', # 2 # ] # } # } # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - output ok 3 - valid (vrt=str) ok 4 - validator (vrt=full) returns hash ok 5 - errors (vrt=full) ok 6 - warnings (vrt=full) 1..6 ok 94 - keys (create_default=1) 2 # { # 'input' => {}, # 'name' => 'keys (create_default=0) 1', # 'output' => {}, # 'schema' => [ # 'hash', # { # 'keys' => { # 'a' => 'int', # 'b' => [ # 'int', # 'default', # 2 # ] # }, # 'keys.create_default' => 0 # } # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - output ok 3 - valid (vrt=str) ok 4 - validator (vrt=full) returns hash ok 5 - errors (vrt=full) ok 6 - warnings (vrt=full) 1..6 ok 95 - keys (create_default=0) 1 # { # 'input' => { # 'b' => undef # }, # 'name' => 'keys (create_default=0) 2', # 'output' => { # 'b' => 2 # }, # 'schema' => [ # 'hash', # { # 'keys' => { # 'a' => 'int', # 'b' => [ # 'int', # 'default', # 2 # ] # }, # 'keys.create_default' => 0 # } # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - output ok 3 - valid (vrt=str) ok 4 - validator (vrt=full) returns hash ok 5 - errors (vrt=full) ok 6 - warnings (vrt=full) 1..6 ok 96 - keys (create_default=0) 2 1..96 ok 8 - 10-type-hash.yaml # Test version: v0.9.17 (generated by devscripts/gen-type-spectest on Tue Nov 20 09:17:04 2012) # { # 'input' => -1, # 'name' => 'type check: must accept -1', # 'schema' => 'int', # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 1 - type check: must accept -1 # { # 'input' => 0, # 'name' => 'type check: must accept 0', # 'schema' => 'int', # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 2 - type check: must accept 0 # { # 'input' => 1, # 'name' => 'type check: must accept 1', # 'schema' => 'int', # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 3 - type check: must accept 1 # { # 'input' => '1.1', # 'name' => 'type check: must reject 1.1', # 'schema' => 'int', # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 4 - type check: must reject 1.1 # { # 'input' => 'a', # 'name' => 'type check: must reject a', # 'schema' => 'int', # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 5 - type check: must reject a # { # 'input' => [], # 'name' => 'type check: must reject []', # 'schema' => 'int', # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 6 - type check: must reject [] # { # 'input' => {}, # 'name' => 'type check: must reject {}', # 'schema' => 'int', # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 7 - type check: must reject {} # { # 'input' => undef, # 'name' => 'must accept undefined value', # 'schema' => 'int', # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 8 - must accept undefined value # { # 'input' => undef, # 'name' => 'req=0 must accept undefined value', # 'schema' => [ # 'int', # 'req', # 0 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 9 - req=0 must accept undefined value # { # 'input' => undef, # 'name' => 'req=1 must reject undefined value', # 'schema' => [ # 'int', # 'req', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 10 - req=1 must reject undefined value # { # 'input' => 2, # 'name' => 'forbidden=0 must accept defined value', # 'schema' => [ # 'int', # 'forbidden', # 0 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 11 - forbidden=0 must accept defined value # { # 'input' => 2, # 'name' => 'forbidden=1 must reject defined value', # 'schema' => [ # 'int', # 'forbidden', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 12 - forbidden=1 must reject defined value # { # 'input' => undef, # 'name' => 'default: must accept valid default 1', # 'schema' => [ # 'int*', # 'default', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 13 - default: must accept valid default 1 # { # 'input' => undef, # 'name' => 'default: must reject invalid default []', # 'schema' => [ # 'int*', # 'default', # [] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 14 - default: must reject invalid default [] # { # 'input' => 9, # 'name' => '.err_level=error (clause=div_by, ok)', # 'schema' => [ # 'int', # 'div_by', # 3 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 15 - .err_level=error (clause=div_by, ok) # { # 'input' => 8, # 'name' => '.err_level=error (clause=div_by, nok)', # 'schema' => [ # 'int', # 'div_by', # 3 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 16 - .err_level=error (clause=div_by, nok) # { # 'input' => 9, # 'name' => '.err_level=warn (clause=div_by, ok)', # 'schema' => [ # 'int', # 'div_by', # 3, # 'div_by.err_level', # 'warn' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 17 - .err_level=warn (clause=div_by, ok) # { # 'input' => 8, # 'name' => '.err_level=warn (clause=div_by, nok)', # 'schema' => [ # 'int*', # 'div_by', # 3, # 'div_by.err_level', # 'warn' # ], # 'valid' => 1, # 'warnings' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 18 - .err_level=warn (clause=div_by, nok) # { # 'input' => 1, # 'name' => 'is: must accept same value', # 'schema' => [ # 'int', # 'is', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 19 - is: must accept same value # { # 'input' => 1, # 'name' => 'is: must reject different value', # 'schema' => [ # 'int', # 'is', # 2 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 20 - is: must reject different value # { # 'input' => 1, # 'name' => '!is: (nok)', # 'schema' => [ # 'int', # '!is', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 21 - !is: (nok) # { # 'input' => 1, # 'name' => '!is: (ok)', # 'schema' => [ # 'int', # '!is', # 2 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 22 - !is: (ok) # { # 'input' => 1, # 'name' => 'is&: (no items)', # 'schema' => [ # 'int', # 'is&', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 23 - is&: (no items) # { # 'input' => 1, # 'name' => 'is&: (ok)', # 'schema' => [ # 'int', # 'is&', # [ # 1, # 1 # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 24 - is&: (ok) # { # 'errors' => 1, # 'input' => 1, # 'name' => 'is&: (nok + ok)', # 'schema' => [ # 'int', # 'is&', # [ # 2, # 1 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 25 - is&: (nok + ok) # { # 'errors' => 1, # 'input' => 1, # 'name' => 'is&: (ok + nok)', # 'schema' => [ # 'int', # 'is&', # [ # 1, # 2 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 26 - is&: (ok + nok) # { # 'errors' => 2, # 'input' => 1, # 'name' => 'is&: (nok + nok)', # 'schema' => [ # 'int', # 'is&', # [ # 2, # 2 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 27 - is&: (nok + nok) # { # 'input' => 1, # 'name' => 'is|: (no items)', # 'schema' => [ # 'int', # 'is|', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 28 - is|: (no items) # { # 'input' => 1, # 'name' => 'is|: (ok)', # 'schema' => [ # 'int', # 'is|', # [ # 1, # 1 # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 29 - is|: (ok) # { # 'input' => 1, # 'name' => 'is|: (nok + ok)', # 'schema' => [ # 'int', # 'is|', # [ # 2, # 1 # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 30 - is|: (nok + ok) # { # 'input' => 1, # 'name' => 'is|: (ok + nok)', # 'schema' => [ # 'int', # 'is|', # [ # 1, # 2 # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 31 - is|: (ok + nok) # { # 'errors' => 1, # 'input' => 1, # 'name' => 'is|: (nok + nok)', # 'schema' => [ # 'int', # 'is|', # [ # 2, # 2 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 32 - is|: (nok + nok) # { # 'input' => 1, # 'name' => 'is.min_ok (nok + nok)', # 'schema' => [ # 'int', # 'is', # [ # 2, # 2 # ], # 'is.is_multi', # 1, # 'is.min_ok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 33 - is.min_ok (nok + nok) # { # 'input' => 1, # 'name' => 'is.min_ok (ok + nok)', # 'schema' => [ # 'int', # 'is', # [ # 1, # 2 # ], # 'is.is_multi', # 1, # 'is.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 34 - is.min_ok (ok + nok) # { # 'input' => 1, # 'name' => 'is.min_ok (ok + ok)', # 'schema' => [ # 'int', # 'is', # [ # 1, # 1 # ], # 'is.is_multi', # 1, # 'is.min_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 35 - is.min_ok (ok + ok) # { # 'input' => 1, # 'name' => 'is.max_ok (nok + nok)', # 'schema' => [ # 'int', # 'is', # [ # 2, # 2 # ], # 'is.is_multi', # 1, # 'is.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 36 - is.max_ok (nok + nok) # { # 'input' => 1, # 'name' => 'is.max_ok (ok + nok)', # 'schema' => [ # 'int', # 'is', # [ # 1, # 2 # ], # 'is.is_multi', # 1, # 'is.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 37 - is.max_ok (ok + nok) # { # 'input' => 1, # 'name' => 'is.max_ok (ok + ok)', # 'schema' => [ # 'int', # 'is', # [ # 1, # 1 # ], # 'is.is_multi', # 1, # 'is.max_ok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 38 - is.max_ok (ok + ok) # { # 'input' => 1, # 'name' => 'is.min_nok (nok + nok)', # 'schema' => [ # 'int', # 'is', # [ # 2, # 2 # ], # 'is.is_multi', # 1, # 'is.min_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 39 - is.min_nok (nok + nok) # { # 'input' => 1, # 'name' => 'is.min_nok (ok + nok)', # 'schema' => [ # 'int', # 'is', # [ # 1, # 2 # ], # 'is.is_multi', # 1, # 'is.min_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 40 - is.min_nok (ok + nok) # { # 'input' => 1, # 'name' => 'is.min_nok (ok + ok)', # 'schema' => [ # 'int', # 'is', # [ # 1, # 1 # ], # 'is.is_multi', # 1, # 'is.min_nok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 41 - is.min_nok (ok + ok) # { # 'input' => 1, # 'name' => 'is.max_nok (nok + nok)', # 'schema' => [ # 'int', # 'is', # [ # 2, # 2 # ], # 'is.is_multi', # 1, # 'is.max_nok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 42 - is.max_nok (nok + nok) # { # 'input' => 1, # 'name' => 'is.max_nok (ok + nok)', # 'schema' => [ # 'int', # 'is', # [ # 1, # 2 # ], # 'is.is_multi', # 1, # 'is.max_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 43 - is.max_nok (ok + nok) # { # 'input' => 1, # 'name' => 'is.max_nok (ok + ok)', # 'schema' => [ # 'int', # 'is', # [ # 1, # 1 # ], # 'is.is_multi', # 1, # 'is.max_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 44 - is.max_nok (ok + ok) # { # 'input' => 1, # 'name' => 'in: must accept valid choices', # 'schema' => [ # 'int', # 'in', # [ # 1, # 2 # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 45 - in: must accept valid choices # { # 'input' => 1, # 'name' => 'in: must reject empty choices', # 'schema' => [ # 'int', # 'in', # [] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 46 - in: must reject empty choices # { # 'input' => 1, # 'name' => '!in: (nok)', # 'schema' => [ # 'int', # '!in', # [ # 1, # 2 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 47 - !in: (nok) # { # 'input' => 1, # 'name' => '!in: (ok)', # 'schema' => [ # 'int', # '!in', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 48 - !in: (ok) # { # 'input' => 1, # 'name' => 'in&: (no items)', # 'schema' => [ # 'int', # 'in&', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 49 - in&: (no items) # { # 'input' => 1, # 'name' => 'in&: (ok)', # 'schema' => [ # 'int', # 'in&', # [ # [ # 1, # 2 # ], # [ # 1, # 2 # ] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 50 - in&: (ok) # { # 'errors' => 1, # 'input' => 1, # 'name' => 'in&: (nok + ok)', # 'schema' => [ # 'int', # 'in&', # [ # [], # [ # 1, # 2 # ] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 51 - in&: (nok + ok) # { # 'errors' => 1, # 'input' => 1, # 'name' => 'in&: (ok + nok)', # 'schema' => [ # 'int', # 'in&', # [ # [ # 1, # 2 # ], # [] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 52 - in&: (ok + nok) # { # 'errors' => 2, # 'input' => 1, # 'name' => 'in&: (nok + nok)', # 'schema' => [ # 'int', # 'in&', # [ # [], # [] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 53 - in&: (nok + nok) # { # 'input' => 1, # 'name' => 'in|: (no items)', # 'schema' => [ # 'int', # 'in|', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 54 - in|: (no items) # { # 'input' => 1, # 'name' => 'in|: (ok)', # 'schema' => [ # 'int', # 'in|', # [ # [ # 1, # 2 # ], # [ # 1, # 2 # ] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 55 - in|: (ok) # { # 'input' => 1, # 'name' => 'in|: (nok + ok)', # 'schema' => [ # 'int', # 'in|', # [ # [], # [ # 1, # 2 # ] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 56 - in|: (nok + ok) # { # 'input' => 1, # 'name' => 'in|: (ok + nok)', # 'schema' => [ # 'int', # 'in|', # [ # [ # 1, # 2 # ], # [] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 57 - in|: (ok + nok) # { # 'errors' => 1, # 'input' => 1, # 'name' => 'in|: (nok + nok)', # 'schema' => [ # 'int', # 'in|', # [ # [], # [] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 58 - in|: (nok + nok) # { # 'input' => 1, # 'name' => 'in.min_ok (nok + nok)', # 'schema' => [ # 'int', # 'in', # [ # [], # [] # ], # 'in.is_multi', # 1, # 'in.min_ok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 59 - in.min_ok (nok + nok) # { # 'input' => 1, # 'name' => 'in.min_ok (ok + nok)', # 'schema' => [ # 'int', # 'in', # [ # [ # 1, # 2 # ], # [] # ], # 'in.is_multi', # 1, # 'in.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 60 - in.min_ok (ok + nok) # { # 'input' => 1, # 'name' => 'in.min_ok (ok + ok)', # 'schema' => [ # 'int', # 'in', # [ # [ # 1, # 2 # ], # [ # 1, # 2 # ] # ], # 'in.is_multi', # 1, # 'in.min_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 61 - in.min_ok (ok + ok) # { # 'input' => 1, # 'name' => 'in.max_ok (nok + nok)', # 'schema' => [ # 'int', # 'in', # [ # [], # [] # ], # 'in.is_multi', # 1, # 'in.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 62 - in.max_ok (nok + nok) # { # 'input' => 1, # 'name' => 'in.max_ok (ok + nok)', # 'schema' => [ # 'int', # 'in', # [ # [ # 1, # 2 # ], # [] # ], # 'in.is_multi', # 1, # 'in.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 63 - in.max_ok (ok + nok) # { # 'input' => 1, # 'name' => 'in.max_ok (ok + ok)', # 'schema' => [ # 'int', # 'in', # [ # [ # 1, # 2 # ], # [ # 1, # 2 # ] # ], # 'in.is_multi', # 1, # 'in.max_ok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 64 - in.max_ok (ok + ok) # { # 'input' => 1, # 'name' => 'in.min_nok (nok + nok)', # 'schema' => [ # 'int', # 'in', # [ # [], # [] # ], # 'in.is_multi', # 1, # 'in.min_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 65 - in.min_nok (nok + nok) # { # 'input' => 1, # 'name' => 'in.min_nok (ok + nok)', # 'schema' => [ # 'int', # 'in', # [ # [ # 1, # 2 # ], # [] # ], # 'in.is_multi', # 1, # 'in.min_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 66 - in.min_nok (ok + nok) # { # 'input' => 1, # 'name' => 'in.min_nok (ok + ok)', # 'schema' => [ # 'int', # 'in', # [ # [ # 1, # 2 # ], # [ # 1, # 2 # ] # ], # 'in.is_multi', # 1, # 'in.min_nok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 67 - in.min_nok (ok + ok) # { # 'input' => 1, # 'name' => 'in.max_nok (nok + nok)', # 'schema' => [ # 'int', # 'in', # [ # [], # [] # ], # 'in.is_multi', # 1, # 'in.max_nok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 68 - in.max_nok (nok + nok) # { # 'input' => 1, # 'name' => 'in.max_nok (ok + nok)', # 'schema' => [ # 'int', # 'in', # [ # [ # 1, # 2 # ], # [] # ], # 'in.is_multi', # 1, # 'in.max_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 69 - in.max_nok (ok + nok) # { # 'input' => 1, # 'name' => 'in.max_nok (ok + ok)', # 'schema' => [ # 'int', # 'in', # [ # [ # 1, # 2 # ], # [ # 1, # 2 # ] # ], # 'in.is_multi', # 1, # 'in.max_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 70 - in.max_nok (ok + ok) # { # 'input' => 2, # 'name' => 'min: 2 -3', # 'schema' => [ # 'int', # 'min', # -3 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 71 - min: 2 -3 # { # 'input' => 2, # 'name' => 'min: 2 2', # 'schema' => [ # 'int', # 'min', # 2 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 72 - min: 2 2 # { # 'input' => -3, # 'name' => 'min: -3 2 -> fail', # 'schema' => [ # 'int', # 'min', # 2 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 73 - min: -3 2 -> fail # { # 'input' => 2, # 'name' => 'xmin: 2 -3', # 'schema' => [ # 'int', # 'xmin', # -3 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 74 - xmin: 2 -3 # { # 'input' => 2, # 'name' => 'xmin: 2 2 -> fail', # 'schema' => [ # 'int', # 'xmin', # 2 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 75 - xmin: 2 2 -> fail # { # 'input' => -3, # 'name' => 'xmin: -3 2 -> fail', # 'schema' => [ # 'int', # 'xmin', # 2 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 76 - xmin: -3 2 -> fail # { # 'input' => 2, # 'name' => 'max: 2 -3 -> fail', # 'schema' => [ # 'int', # 'max', # -3 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 77 - max: 2 -3 -> fail # { # 'input' => 2, # 'name' => 'max: 2 2', # 'schema' => [ # 'int', # 'max', # 2 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 78 - max: 2 2 # { # 'input' => -3, # 'name' => 'max: -3 2', # 'schema' => [ # 'int', # 'max', # 2 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 79 - max: -3 2 # { # 'input' => 2, # 'name' => 'xmax: 2 -3 -> fail', # 'schema' => [ # 'int', # 'xmax', # -3 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 80 - xmax: 2 -3 -> fail # { # 'input' => 2, # 'name' => 'xmax: 2 2 -> fail', # 'schema' => [ # 'int', # 'xmax', # 2 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 81 - xmax: 2 2 -> fail # { # 'input' => -3, # 'name' => 'xmax: -3 2', # 'schema' => [ # 'int', # 'xmax', # 2 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 82 - xmax: -3 2 # { # 'input' => 2, # 'name' => 'between: 2 -3 & 4', # 'schema' => [ # 'int', # 'between', # [ # -3, # 4 # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 83 - between: 2 -3 & 4 # { # 'input' => 2, # 'name' => 'between: 2 -3 & 2', # 'schema' => [ # 'int', # 'between', # [ # -3, # 2 # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 84 - between: 2 -3 & 2 # { # 'input' => 2, # 'name' => 'between: 2 2 & 2', # 'schema' => [ # 'int', # 'between', # [ # 2, # 2 # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 85 - between: 2 2 & 2 # { # 'input' => -3, # 'name' => 'between: -3 2 & 4 -> fail', # 'schema' => [ # 'int', # 'between', # [ # 2, # 4 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 86 - between: -3 2 & 4 -> fail # { # 'input' => 2, # 'name' => 'xbetween: 2 -3 & 4', # 'schema' => [ # 'int', # 'xbetween', # [ # -3, # 4 # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 87 - xbetween: 2 -3 & 4 # { # 'input' => 2, # 'name' => 'xbetween: 2 -3 & 2 -> fail', # 'schema' => [ # 'int', # 'xbetween', # [ # -3, # 2 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 88 - xbetween: 2 -3 & 2 -> fail # { # 'input' => 2, # 'name' => 'xbetween: 2 2 & 2 -> fail', # 'schema' => [ # 'int', # 'xbetween', # [ # 2, # 2 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 89 - xbetween: 2 2 & 2 -> fail # { # 'input' => -3, # 'name' => 'xbetween: -3 2 & 4 -> fail', # 'schema' => [ # 'int', # 'xbetween', # [ # 2, # 4 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 90 - xbetween: -3 2 & 4 -> fail # { # 'input' => 10, # 'name' => 'mod: (nok)', # 'schema' => [ # 'int', # 'mod', # [ # 3, # 2 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 91 - mod: (nok) # { # 'input' => 11, # 'name' => 'mod: (ok)', # 'schema' => [ # 'int', # 'mod', # [ # 3, # 2 # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 92 - mod: (ok) # { # 'input' => 7, # 'name' => 'div_by: (nok)', # 'schema' => [ # 'int', # 'div_by', # 3 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 93 - div_by: (nok) # { # 'input' => 6, # 'name' => 'div_by: (ok)', # 'schema' => [ # 'int', # 'div_by', # 3 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 94 - div_by: (ok) 1..94 ok 9 - 10-type-int.yaml # Test version: v0.9.17 (generated by devscripts/gen-type-spectest on Tue Nov 20 09:17:04 2012) # { # 'input' => 0, # 'name' => 'type check: must accept 0', # 'schema' => 'str', # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 1 - type check: must accept 0 # { # 'input' => '1.1', # 'name' => 'type check: must accept 1.1', # 'schema' => 'str', # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 2 - type check: must accept 1.1 # { # 'input' => '', # 'name' => 'type check: must accept ', # 'schema' => 'str', # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 3 - type check: must accept # { # 'input' => 'str # ', # 'name' => 'type check: must accept str # ', # 'schema' => 'str', # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 4 - type check: must accept str # # { # 'input' => [], # 'name' => 'type check: must reject []', # 'schema' => 'str', # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 5 - type check: must reject [] # { # 'input' => {}, # 'name' => 'type check: must reject {}', # 'schema' => 'str', # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 6 - type check: must reject {} # { # 'input' => undef, # 'name' => 'must accept undefined value', # 'schema' => 'str', # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 7 - must accept undefined value # { # 'input' => undef, # 'name' => 'req=0 must accept undefined value', # 'schema' => [ # 'str', # 'req', # 0 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 8 - req=0 must accept undefined value # { # 'input' => undef, # 'name' => 'req=1 must reject undefined value', # 'schema' => [ # 'str', # 'req', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 9 - req=1 must reject undefined value # { # 'input' => 'a', # 'name' => 'forbidden=0 must accept defined value', # 'schema' => [ # 'str', # 'forbidden', # 0 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 10 - forbidden=0 must accept defined value # { # 'input' => 'a', # 'name' => 'forbidden=1 must reject defined value', # 'schema' => [ # 'str', # 'forbidden', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 11 - forbidden=1 must reject defined value # { # 'input' => undef, # 'name' => 'default: must accept valid default a', # 'schema' => [ # 'str*', # 'default', # 'a' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 12 - default: must accept valid default a # { # 'input' => undef, # 'name' => 'default: must reject invalid default []', # 'schema' => [ # 'str*', # 'default', # [] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 13 - default: must reject invalid default [] # { # 'input' => 'a', # 'name' => '.err_level=error (clause=is, ok)', # 'schema' => [ # 'str', # 'is', # 'a' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 14 - .err_level=error (clause=is, ok) # { # 'input' => 'a # ', # 'name' => '.err_level=error (clause=is, nok)', # 'schema' => [ # 'str', # 'is', # 'a' # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 15 - .err_level=error (clause=is, nok) # { # 'input' => 'a', # 'name' => '.err_level=warn (clause=is, ok)', # 'schema' => [ # 'str', # 'is', # 'a', # 'is.err_level', # 'warn' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 16 - .err_level=warn (clause=is, ok) # { # 'input' => 'a # ', # 'name' => '.err_level=warn (clause=is, nok)', # 'schema' => [ # 'str*', # 'is', # 'a', # 'is.err_level', # 'warn' # ], # 'valid' => 1, # 'warnings' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 17 - .err_level=warn (clause=is, nok) # { # 'input' => 'a', # 'name' => 'is: must accept same value', # 'schema' => [ # 'str', # 'is', # 'a' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 18 - is: must accept same value # { # 'input' => 'a', # 'name' => 'is: must reject different value', # 'schema' => [ # 'str', # 'is', # 'b' # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 19 - is: must reject different value # { # 'input' => 'a', # 'name' => '!is: (nok)', # 'schema' => [ # 'str', # '!is', # 'a' # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 20 - !is: (nok) # { # 'input' => 'a', # 'name' => '!is: (ok)', # 'schema' => [ # 'str', # '!is', # 'b' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 21 - !is: (ok) # { # 'input' => 'a', # 'name' => 'is&: (no items)', # 'schema' => [ # 'str', # 'is&', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 22 - is&: (no items) # { # 'input' => 'a', # 'name' => 'is&: (ok)', # 'schema' => [ # 'str', # 'is&', # [ # 'a', # 'a' # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 23 - is&: (ok) # { # 'errors' => 1, # 'input' => 'a', # 'name' => 'is&: (nok + ok)', # 'schema' => [ # 'str', # 'is&', # [ # 'b', # 'a' # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 24 - is&: (nok + ok) # { # 'errors' => 1, # 'input' => 'a', # 'name' => 'is&: (ok + nok)', # 'schema' => [ # 'str', # 'is&', # [ # 'a', # 'b' # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 25 - is&: (ok + nok) # { # 'errors' => 2, # 'input' => 'a', # 'name' => 'is&: (nok + nok)', # 'schema' => [ # 'str', # 'is&', # [ # 'b', # 'b' # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 26 - is&: (nok + nok) # { # 'input' => 'a', # 'name' => 'is|: (no items)', # 'schema' => [ # 'str', # 'is|', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 27 - is|: (no items) # { # 'input' => 'a', # 'name' => 'is|: (ok)', # 'schema' => [ # 'str', # 'is|', # [ # 'a', # 'a' # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 28 - is|: (ok) # { # 'input' => 'a', # 'name' => 'is|: (nok + ok)', # 'schema' => [ # 'str', # 'is|', # [ # 'b', # 'a' # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 29 - is|: (nok + ok) # { # 'input' => 'a', # 'name' => 'is|: (ok + nok)', # 'schema' => [ # 'str', # 'is|', # [ # 'a', # 'b' # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 30 - is|: (ok + nok) # { # 'errors' => 1, # 'input' => 'a', # 'name' => 'is|: (nok + nok)', # 'schema' => [ # 'str', # 'is|', # [ # 'b', # 'b' # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 31 - is|: (nok + nok) # { # 'input' => 'a', # 'name' => 'is.min_ok (nok + nok)', # 'schema' => [ # 'str', # 'is', # [ # 'b', # 'b' # ], # 'is.is_multi', # 1, # 'is.min_ok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 32 - is.min_ok (nok + nok) # { # 'input' => 'a', # 'name' => 'is.min_ok (ok + nok)', # 'schema' => [ # 'str', # 'is', # [ # 'a', # 'b' # ], # 'is.is_multi', # 1, # 'is.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 33 - is.min_ok (ok + nok) # { # 'input' => 'a', # 'name' => 'is.min_ok (ok + ok)', # 'schema' => [ # 'str', # 'is', # [ # 'a', # 'a' # ], # 'is.is_multi', # 1, # 'is.min_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 34 - is.min_ok (ok + ok) # { # 'input' => 'a', # 'name' => 'is.max_ok (nok + nok)', # 'schema' => [ # 'str', # 'is', # [ # 'b', # 'b' # ], # 'is.is_multi', # 1, # 'is.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 35 - is.max_ok (nok + nok) # { # 'input' => 'a', # 'name' => 'is.max_ok (ok + nok)', # 'schema' => [ # 'str', # 'is', # [ # 'a', # 'b' # ], # 'is.is_multi', # 1, # 'is.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 36 - is.max_ok (ok + nok) # { # 'input' => 'a', # 'name' => 'is.max_ok (ok + ok)', # 'schema' => [ # 'str', # 'is', # [ # 'a', # 'a' # ], # 'is.is_multi', # 1, # 'is.max_ok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 37 - is.max_ok (ok + ok) # { # 'input' => 'a', # 'name' => 'is.min_nok (nok + nok)', # 'schema' => [ # 'str', # 'is', # [ # 'b', # 'b' # ], # 'is.is_multi', # 1, # 'is.min_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 38 - is.min_nok (nok + nok) # { # 'input' => 'a', # 'name' => 'is.min_nok (ok + nok)', # 'schema' => [ # 'str', # 'is', # [ # 'a', # 'b' # ], # 'is.is_multi', # 1, # 'is.min_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 39 - is.min_nok (ok + nok) # { # 'input' => 'a', # 'name' => 'is.min_nok (ok + ok)', # 'schema' => [ # 'str', # 'is', # [ # 'a', # 'a' # ], # 'is.is_multi', # 1, # 'is.min_nok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 40 - is.min_nok (ok + ok) # { # 'input' => 'a', # 'name' => 'is.max_nok (nok + nok)', # 'schema' => [ # 'str', # 'is', # [ # 'b', # 'b' # ], # 'is.is_multi', # 1, # 'is.max_nok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 41 - is.max_nok (nok + nok) # { # 'input' => 'a', # 'name' => 'is.max_nok (ok + nok)', # 'schema' => [ # 'str', # 'is', # [ # 'a', # 'b' # ], # 'is.is_multi', # 1, # 'is.max_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 42 - is.max_nok (ok + nok) # { # 'input' => 'a', # 'name' => 'is.max_nok (ok + ok)', # 'schema' => [ # 'str', # 'is', # [ # 'a', # 'a' # ], # 'is.is_multi', # 1, # 'is.max_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 43 - is.max_nok (ok + ok) # { # 'input' => 'a', # 'name' => 'in: must accept valid choices', # 'schema' => [ # 'str', # 'in', # [ # 'a', # 'b' # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 44 - in: must accept valid choices # { # 'input' => 'a', # 'name' => 'in: must reject empty choices', # 'schema' => [ # 'str', # 'in', # [] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 45 - in: must reject empty choices # { # 'input' => 'a', # 'name' => '!in: (nok)', # 'schema' => [ # 'str', # '!in', # [ # 'a', # 'b' # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 46 - !in: (nok) # { # 'input' => 'a', # 'name' => '!in: (ok)', # 'schema' => [ # 'str', # '!in', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 47 - !in: (ok) # { # 'input' => 'a', # 'name' => 'in&: (no items)', # 'schema' => [ # 'str', # 'in&', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 48 - in&: (no items) # { # 'input' => 'a', # 'name' => 'in&: (ok)', # 'schema' => [ # 'str', # 'in&', # [ # [ # 'a', # 'b' # ], # [ # 'a', # 'b' # ] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 49 - in&: (ok) # { # 'errors' => 1, # 'input' => 'a', # 'name' => 'in&: (nok + ok)', # 'schema' => [ # 'str', # 'in&', # [ # [], # [ # 'a', # 'b' # ] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 50 - in&: (nok + ok) # { # 'errors' => 1, # 'input' => 'a', # 'name' => 'in&: (ok + nok)', # 'schema' => [ # 'str', # 'in&', # [ # [ # 'a', # 'b' # ], # [] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 51 - in&: (ok + nok) # { # 'errors' => 2, # 'input' => 'a', # 'name' => 'in&: (nok + nok)', # 'schema' => [ # 'str', # 'in&', # [ # [], # [] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 52 - in&: (nok + nok) # { # 'input' => 'a', # 'name' => 'in|: (no items)', # 'schema' => [ # 'str', # 'in|', # [] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 53 - in|: (no items) # { # 'input' => 'a', # 'name' => 'in|: (ok)', # 'schema' => [ # 'str', # 'in|', # [ # [ # 'a', # 'b' # ], # [ # 'a', # 'b' # ] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 54 - in|: (ok) # { # 'input' => 'a', # 'name' => 'in|: (nok + ok)', # 'schema' => [ # 'str', # 'in|', # [ # [], # [ # 'a', # 'b' # ] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 55 - in|: (nok + ok) # { # 'input' => 'a', # 'name' => 'in|: (ok + nok)', # 'schema' => [ # 'str', # 'in|', # [ # [ # 'a', # 'b' # ], # [] # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 56 - in|: (ok + nok) # { # 'errors' => 1, # 'input' => 'a', # 'name' => 'in|: (nok + nok)', # 'schema' => [ # 'str', # 'in|', # [ # [], # [] # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 57 - in|: (nok + nok) # { # 'input' => 'a', # 'name' => 'in.min_ok (nok + nok)', # 'schema' => [ # 'str', # 'in', # [ # [], # [] # ], # 'in.is_multi', # 1, # 'in.min_ok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 58 - in.min_ok (nok + nok) # { # 'input' => 'a', # 'name' => 'in.min_ok (ok + nok)', # 'schema' => [ # 'str', # 'in', # [ # [ # 'a', # 'b' # ], # [] # ], # 'in.is_multi', # 1, # 'in.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 59 - in.min_ok (ok + nok) # { # 'input' => 'a', # 'name' => 'in.min_ok (ok + ok)', # 'schema' => [ # 'str', # 'in', # [ # [ # 'a', # 'b' # ], # [ # 'a', # 'b' # ] # ], # 'in.is_multi', # 1, # 'in.min_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 60 - in.min_ok (ok + ok) # { # 'input' => 'a', # 'name' => 'in.max_ok (nok + nok)', # 'schema' => [ # 'str', # 'in', # [ # [], # [] # ], # 'in.is_multi', # 1, # 'in.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 61 - in.max_ok (nok + nok) # { # 'input' => 'a', # 'name' => 'in.max_ok (ok + nok)', # 'schema' => [ # 'str', # 'in', # [ # [ # 'a', # 'b' # ], # [] # ], # 'in.is_multi', # 1, # 'in.max_ok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 62 - in.max_ok (ok + nok) # { # 'input' => 'a', # 'name' => 'in.max_ok (ok + ok)', # 'schema' => [ # 'str', # 'in', # [ # [ # 'a', # 'b' # ], # [ # 'a', # 'b' # ] # ], # 'in.is_multi', # 1, # 'in.max_ok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 63 - in.max_ok (ok + ok) # { # 'input' => 'a', # 'name' => 'in.min_nok (nok + nok)', # 'schema' => [ # 'str', # 'in', # [ # [], # [] # ], # 'in.is_multi', # 1, # 'in.min_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 64 - in.min_nok (nok + nok) # { # 'input' => 'a', # 'name' => 'in.min_nok (ok + nok)', # 'schema' => [ # 'str', # 'in', # [ # [ # 'a', # 'b' # ], # [] # ], # 'in.is_multi', # 1, # 'in.min_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 65 - in.min_nok (ok + nok) # { # 'input' => 'a', # 'name' => 'in.min_nok (ok + ok)', # 'schema' => [ # 'str', # 'in', # [ # [ # 'a', # 'b' # ], # [ # 'a', # 'b' # ] # ], # 'in.is_multi', # 1, # 'in.min_nok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 66 - in.min_nok (ok + ok) # { # 'input' => 'a', # 'name' => 'in.max_nok (nok + nok)', # 'schema' => [ # 'str', # 'in', # [ # [], # [] # ], # 'in.is_multi', # 1, # 'in.max_nok', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 67 - in.max_nok (nok + nok) # { # 'input' => 'a', # 'name' => 'in.max_nok (ok + nok)', # 'schema' => [ # 'str', # 'in', # [ # [ # 'a', # 'b' # ], # [] # ], # 'in.is_multi', # 1, # 'in.max_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 68 - in.max_nok (ok + nok) # { # 'input' => 'a', # 'name' => 'in.max_nok (ok + ok)', # 'schema' => [ # 'str', # 'in', # [ # [ # 'a', # 'b' # ], # [ # 'a', # 'b' # ] # ], # 'in.is_multi', # 1, # 'in.max_nok', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 69 - in.max_nok (ok + ok) # { # 'input' => 'a', # 'name' => 'min: a ', # 'schema' => [ # 'str', # 'min', # '' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 70 - min: a # { # 'input' => 'a', # 'name' => 'min: a a', # 'schema' => [ # 'str', # 'min', # 'a' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 71 - min: a a # { # 'input' => '', # 'name' => 'min: a -> fail', # 'schema' => [ # 'str', # 'min', # 'a' # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 72 - min: a -> fail # { # 'input' => 'a', # 'name' => 'xmin: a ', # 'schema' => [ # 'str', # 'xmin', # '' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 73 - xmin: a # { # 'input' => 'a', # 'name' => 'xmin: a a -> fail', # 'schema' => [ # 'str', # 'xmin', # 'a' # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 74 - xmin: a a -> fail # { # 'input' => '', # 'name' => 'xmin: a -> fail', # 'schema' => [ # 'str', # 'xmin', # 'a' # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 75 - xmin: a -> fail # { # 'input' => 'a', # 'name' => 'max: a -> fail', # 'schema' => [ # 'str', # 'max', # '' # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 76 - max: a -> fail # { # 'input' => 'a', # 'name' => 'max: a a', # 'schema' => [ # 'str', # 'max', # 'a' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 77 - max: a a # { # 'input' => '', # 'name' => 'max: a', # 'schema' => [ # 'str', # 'max', # 'a' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 78 - max: a # { # 'input' => 'a', # 'name' => 'xmax: a -> fail', # 'schema' => [ # 'str', # 'xmax', # '' # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 79 - xmax: a -> fail # { # 'input' => 'a', # 'name' => 'xmax: a a -> fail', # 'schema' => [ # 'str', # 'xmax', # 'a' # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 80 - xmax: a a -> fail # { # 'input' => '', # 'name' => 'xmax: a', # 'schema' => [ # 'str', # 'xmax', # 'a' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 81 - xmax: a # { # 'input' => 'a', # 'name' => 'between: a & ab', # 'schema' => [ # 'str', # 'between', # [ # '', # 'ab' # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 82 - between: a & ab # { # 'input' => 'a', # 'name' => 'between: a & a', # 'schema' => [ # 'str', # 'between', # [ # '', # 'a' # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 83 - between: a & a # { # 'input' => 'a', # 'name' => 'between: a a & a', # 'schema' => [ # 'str', # 'between', # [ # 'a', # 'a' # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 84 - between: a a & a # { # 'input' => '', # 'name' => 'between: a & ab -> fail', # 'schema' => [ # 'str', # 'between', # [ # 'a', # 'ab' # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 85 - between: a & ab -> fail # { # 'input' => 'a', # 'name' => 'xbetween: a & ab', # 'schema' => [ # 'str', # 'xbetween', # [ # '', # 'ab' # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 86 - xbetween: a & ab # { # 'input' => 'a', # 'name' => 'xbetween: a & a -> fail', # 'schema' => [ # 'str', # 'xbetween', # [ # '', # 'a' # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 87 - xbetween: a & a -> fail # { # 'input' => 'a', # 'name' => 'xbetween: a a & a -> fail', # 'schema' => [ # 'str', # 'xbetween', # [ # 'a', # 'a' # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 88 - xbetween: a a & a -> fail # { # 'input' => '', # 'name' => 'xbetween: a & ab -> fail', # 'schema' => [ # 'str', # 'xbetween', # [ # 'a', # 'ab' # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 89 - xbetween: a & ab -> fail # { # 'input' => 'a', # 'name' => 'len (ok)', # 'schema' => [ # 'str', # 'len', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 90 - len (ok) # { # 'input' => 'a', # 'name' => 'len (nok)', # 'schema' => [ # 'str', # 'len', # 3 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 91 - len (nok) # { # 'input' => 'a', # 'name' => 'min_len (ok)', # 'schema' => [ # 'str', # 'min_len', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 92 - min_len (ok) # { # 'input' => 'a', # 'name' => 'min_len (nok)', # 'schema' => [ # 'str', # 'min_len', # 3 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 93 - min_len (nok) # { # 'input' => 'a', # 'name' => 'max_len (ok)', # 'schema' => [ # 'str', # 'min_len', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 94 - max_len (ok) # { # 'input' => 'abc', # 'name' => 'max_len (nok)', # 'schema' => [ # 'str', # 'max_len', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 95 - max_len (nok) # { # 'input' => 'a', # 'name' => 'len_between (ok)', # 'schema' => [ # 'str', # 'len_between', # [ # 1, # 3 # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 96 - len_between (ok) # { # 'input' => 'abc', # 'name' => 'len_between (nok)', # 'schema' => [ # 'str', # 'len_between', # [ # 1, # 1 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 97 - len_between (nok) # { # 'input' => 'abc', # 'name' => 'each_index (ok)', # 'schema' => [ # 'str', # 'each_index', # [ # 'int', # 'max', # 2 # ] # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 98 - each_index (ok) # { # 'input' => 'abc', # 'name' => 'each_index (nok)', # 'schema' => [ # 'str', # 'each_index', # [ # 'int', # 'xmax', # 2 # ] # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 99 - each_index (nok) # { # 'input' => 'abc', # 'name' => 'each_elem (ok)', # 'schema' => [ # 'str', # 'each_elem', # 'str' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 100 - each_elem (ok) # { # 'input' => 'abc', # 'name' => 'each_elem (nok)', # 'schema' => [ # 'str', # 'each_elem', # 'float' # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 101 - each_elem (nok) # { # 'input' => 'a', # 'name' => 'match: (ok)', # 'schema' => [ # 'str', # 'match', # '[abc]' # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 102 - match: (ok) # { # 'input' => 'z', # 'name' => 'match: (nok)', # 'schema' => [ # 'str', # 'match', # '[abc]' # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 103 - match: (nok) # { # 'dies' => 1, # 'input' => 'a', # 'name' => 'match: (nok, invalid regex)', # 'schema' => [ # 'str', # 'match', # '(' # ] # } ok 1 - compile error 1..1 ok 104 - match: (nok, invalid regex) # { # 'input' => 'a', # 'name' => 'is_re: 1 (ok)', # 'schema' => [ # 'str', # 'is_re', # 1 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 105 - is_re: 1 (ok) # { # 'input' => 'a(', # 'name' => 'is_re: 1 (nok)', # 'schema' => [ # 'str', # 'is_re', # 1 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 106 - is_re: 1 (nok) # { # 'input' => 'a(', # 'name' => 'is_re: 0 (ok)', # 'schema' => [ # 'str', # 'is_re', # 0 # ], # 'valid' => 1 # } ok 1 - valid (vrt=bool) ok 2 - valid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 107 - is_re: 0 (ok) # { # 'input' => 'a', # 'name' => 'is_re: 0 (nok)', # 'schema' => [ # 'str', # 'is_re', # 0 # ], # 'valid' => 0 # } ok 1 - invalid (vrt=bool) ok 2 - invalid (vrt=str) ok 3 - validator (vrt=full) returns hash ok 4 - errors (vrt=full) ok 5 - warnings (vrt=full) 1..5 ok 108 - is_re: 0 (nok) 1..108 ok 10 - 10-type-str.yaml 1..10 ok Test Summary Report ------------------- t/perl-type-float.t (Wstat: 1280 Tests: 15 Failed: 5) Failed tests: 5, 9-10, 13, 15 Non-zero exit status: 5 Files=12, Tests=100, 14 wallclock secs ( 0.94 usr + 0.08 sys = 1.02 CPU) Result: FAIL Failed 1/12 test programs. 5/100 subtests failed. SHARYANTO/Data-Sah-0.09.tar.gz C:\Perl64-5.14\bin\perl.exe ./Build test verbose=1 -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports SHARYANTO/Data-Sah-0.09.tar.gz Finished 2012-11-22T02:11:35