PATH=C:\cpanfly-5.22-32\var\megalib\bin;C:\Perl-5.22-32\site\bin;C:\Perl-5.22-32\bin;C:\MinGW-32\bin;C:\cygwin\bin;C:\instantclient_11_2-32;C:\cpanfly-5.22-32\var\megalib\bin;C:\Perl-5.22-32\site\bin;C:\Perl-5.22-32\bin;C:\MinGW-32\bin;C:\cygwin\bin;C:\instantclient_11_2-32;C:\p4;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files (x86)\CMake\bin Start 2017-03-16T02:05:29 ActivePerl-2201 CPAN-2.10 PATH=C:/CPANFL~3.22-/var/libs/bin;C:\CPANFL~3.22-\var\megalib\bin;C:\PERL-5~1.22-\site\bin;C:\PERL-5~1.22-\bin;C:\MinGW-32\bin;C:\cygwin\bin;C:\INSTAN~3;C:\CPANFL~3.22-\var\megalib\bin;C:\PERL-5~1.22-\site\bin;C:\PERL-5~1.22-\bin;C:\MinGW-32\bin;C:\cygwin\bin;C:\INSTAN~3;C:\p4;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WINDOW~1\v1.0\;C:\PROGRA~1\Git\cmd;C:\PROGRA~2\CMake\bin Reading 'C:\cpanfly-5.22-32\var\cpan\Metadata' Database was generated on Wed, 15 Mar 2017 03:53:52 GMT Checksum for C:\cpanfly-5.22-32\var\cpan\sources\authors\id\L\LN\LNATION\MooX-ValidateSubs-0.06.tar.gz ok MooX-ValidateSubs-0.06/ MooX-ValidateSubs-0.06/t/ MooX-ValidateSubs-0.06/t/01-basics.t MooX-ValidateSubs-0.06/t/pod.t MooX-ValidateSubs-0.06/t/pod-coverage.t MooX-ValidateSubs-0.06/t/00-load.t MooX-ValidateSubs-0.06/t/odea/ MooX-ValidateSubs-0.06/t/odea/Maybe.pm MooX-ValidateSubs-0.06/t/manifest.t MooX-ValidateSubs-0.06/README.md MooX-ValidateSubs-0.06/MANIFEST MooX-ValidateSubs-0.06/META.yml MooX-ValidateSubs-0.06/xt/ MooX-ValidateSubs-0.06/xt/boilerplate.t MooX-ValidateSubs-0.06/META.json MooX-ValidateSubs-0.06/Makefile.PL MooX-ValidateSubs-0.06/Changes MooX-ValidateSubs-0.06/README MooX-ValidateSubs-0.06/ignore.txt MooX-ValidateSubs-0.06/lib/ MooX-ValidateSubs-0.06/lib/MooX/ MooX-ValidateSubs-0.06/lib/MooX/ValidateSubs.pm MooX-ValidateSubs-0.06/lib/MooX/ValidateSubs/ MooX-ValidateSubs-0.06/lib/MooX/ValidateSubs/Role.pm Configuring L/LN/LNATION/MooX-ValidateSubs-0.06.tar.gz with Makefile.PL >>> C:\Perl-5.22-32\bin\perl.exe Makefile.PL Warning: prerequisite Type::Tiny 1.000006 not found. We have 1.000005. Checking if your kit is complete... Looks good Have \cpanfl~3.22-\var\megalib Want \perl-5~1.22-\lib Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [megalib] Config says: [MSWin32-x86-multi-thread-64int] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a dmake-style Makefile Writing Makefile for MooX::ValidateSubs Writing MYMETA.yml and MYMETA.json LNATION/MooX-ValidateSubs-0.06.tar.gz C:\Perl-5.22-32\bin\perl.exe Makefile.PL -- OK Running make for L/LN/LNATION/MooX-ValidateSubs-0.06.tar.gz ---- Unsatisfied dependencies detected during ---- ---- LNATION/MooX-ValidateSubs-0.06.tar.gz ---- Type::Tiny [build_requires] Running test for module 'Type::Tiny' Checksum for C:\cpanfly-5.22-32\var\cpan\sources\authors\id\T\TO\TOBYINK\Type-Tiny-1.000006.tar.gz ok Type-Tiny-1.000006/COPYRIGHT Type-Tiny-1.000006/CREDITS Type-Tiny-1.000006/Changes Type-Tiny-1.000006/INSTALL Type-Tiny-1.000006/LICENSE Type-Tiny-1.000006/MANIFEST Type-Tiny-1.000006/META.json Type-Tiny-1.000006/META.yml Type-Tiny-1.000006/Makefile.PL Type-Tiny-1.000006/NEWS Type-Tiny-1.000006/README Type-Tiny-1.000006/SIGNATURE Type-Tiny-1.000006/TODO Type-Tiny-1.000006/dist.ini Type-Tiny-1.000006/doap.ttl Type-Tiny-1.000006/examples/benchmark-coercions.pl Type-Tiny-1.000006/examples/benchmark-constraints.pl Type-Tiny-1.000006/examples/benchmark-param-validation.pl Type-Tiny-1.000006/examples/datetime-coercions.pl Type-Tiny-1.000006/examples/versus-scalar-validation.pl Type-Tiny-1.000006/t/00-begin.t Type-Tiny-1.000006/t/01-compile.t Type-Tiny-1.000006/t/02-api.t Type-Tiny-1.000006/t/03-leak.t Type-Tiny-1.000006/t/99-moose-std-types-test.t Type-Tiny-1.000006/t/README Type-Tiny-1.000006/t/TODO Type-Tiny-1.000006/t/mk-test-manifest.pl Type-Tiny-1.000006/t/not-covered.pl Type-Tiny-1.000006/inc/Test/Fatal.pm Type-Tiny-1.000006/inc/Test/Requires.pm Type-Tiny-1.000006/inc/Try/Tiny.pm Type-Tiny-1.000006/lib/Error/TypeTiny.pm Type-Tiny-1.000006/lib/Eval/TypeTiny.pm Type-Tiny-1.000006/lib/Test/TypeTiny.pm Type-Tiny-1.000006/lib/Type/Coercion.pm Type-Tiny-1.000006/lib/Type/Library.pm Type-Tiny-1.000006/lib/Type/Params.pm Type-Tiny-1.000006/lib/Type/Parser.pm Type-Tiny-1.000006/lib/Type/Registry.pm Type-Tiny-1.000006/lib/Type/Tiny.pm Type-Tiny-1.000006/lib/Type/Utils.pm Type-Tiny-1.000006/lib/Types/Standard.pm Type-Tiny-1.000006/lib/Types/TypeTiny.pm Type-Tiny-1.000006/t/40-regression/73f51e2d.pl Type-Tiny-1.000006/t/40-regression/73f51e2d.t Type-Tiny-1.000006/t/40-regression/gh1.t Type-Tiny-1.000006/t/40-regression/rt85911.t Type-Tiny-1.000006/t/40-regression/rt86004.t Type-Tiny-1.000006/t/40-regression/rt86233.t Type-Tiny-1.000006/t/40-regression/rt86239.t Type-Tiny-1.000006/t/40-regression/rt90096-2.t Type-Tiny-1.000006/t/40-regression/rt90096.t Type-Tiny-1.000006/t/40-regression/rt92571-2.t Type-Tiny-1.000006/t/40-regression/rt92571.t Type-Tiny-1.000006/t/40-regression/rt92591.t Type-Tiny-1.000006/t/40-regression/rt94196.t Type-Tiny-1.000006/t/40-regression/rt97684.t Type-Tiny-1.000006/t/40-regression/rt98113.t Type-Tiny-1.000006/t/40-regression/ttxs-gh1.t Type-Tiny-1.000006/t/lib/BiggerLib.pm Type-Tiny-1.000006/t/lib/DemoLib.pm Type-Tiny-1.000006/lib/Devel/TypeTiny/Perl56Compat.pm Type-Tiny-1.000006/lib/Devel/TypeTiny/Perl58Compat.pm Type-Tiny-1.000006/lib/Error/TypeTiny/Assertion.pm Type-Tiny-1.000006/lib/Error/TypeTiny/Compilation.pm Type-Tiny-1.000006/lib/Error/TypeTiny/WrongNumberOfParameters.pm Type-Tiny-1.000006/lib/Reply/Plugin/TypeTiny.pm Type-Tiny-1.000006/lib/Type/Coercion/FromMoose.pm Type-Tiny-1.000006/lib/Type/Coercion/Union.pm Type-Tiny-1.000006/lib/Type/Tiny/Class.pm Type-Tiny-1.000006/lib/Type/Tiny/Duck.pm Type-Tiny-1.000006/lib/Type/Tiny/Enum.pm Type-Tiny-1.000006/lib/Type/Tiny/Intersection.pm Type-Tiny-1.000006/lib/Type/Tiny/Manual.pod Type-Tiny-1.000006/lib/Type/Tiny/Role.pm Type-Tiny-1.000006/lib/Type/Tiny/Union.pm Type-Tiny-1.000006/lib/Type/Tiny/_HalfOp.pm Type-Tiny-1.000006/lib/Types/Common/Numeric.pm Type-Tiny-1.000006/lib/Types/Common/String.pm Type-Tiny-1.000006/lib/Types/Standard/ArrayRef.pm Type-Tiny-1.000006/lib/Types/Standard/Dict.pm Type-Tiny-1.000006/lib/Types/Standard/HashRef.pm Type-Tiny-1.000006/lib/Types/Standard/Map.pm Type-Tiny-1.000006/lib/Types/Standard/ScalarRef.pm Type-Tiny-1.000006/lib/Types/Standard/Tuple.pm Type-Tiny-1.000006/t/20-unit/Devel-TypeTiny-Perl56Compat/basic.t Type-Tiny-1.000006/t/20-unit/Devel-TypeTiny-Perl58Compat/basic.t Type-Tiny-1.000006/t/20-unit/Error-TypeTiny/basic.t Type-Tiny-1.000006/t/20-unit/Error-TypeTiny/stacktrace.t Type-Tiny-1.000006/t/20-unit/Error-TypeTiny-Assertion/basic.t Type-Tiny-1.000006/t/20-unit/Error-TypeTiny-Compilation/basic.t Type-Tiny-1.000006/t/20-unit/Error-TypeTiny-WrongNumberOfParameters/basic.t Type-Tiny-1.000006/t/20-unit/Eval-TypeTiny/basic.t Type-Tiny-1.000006/t/20-unit/Eval-TypeTiny/fallback-aliases.t Type-Tiny-1.000006/t/20-unit/Eval-TypeTiny/lexical-subs.t Type-Tiny-1.000006/t/20-unit/Test-TypeTiny/basic.t Type-Tiny-1.000006/t/20-unit/Test-TypeTiny/extended.t Type-Tiny-1.000006/t/20-unit/Test-TypeTiny/matchfor.t Type-Tiny-1.000006/t/20-unit/Type-Coercion/basic.t Type-Tiny-1.000006/t/20-unit/Type-Coercion/esoteric.t Type-Tiny-1.000006/t/20-unit/Type-Coercion/frozen.t Type-Tiny-1.000006/t/20-unit/Type-Coercion/inlining.t Type-Tiny-1.000006/t/20-unit/Type-Coercion/parameterized.t Type-Tiny-1.000006/t/20-unit/Type-Coercion/smartmatch.t Type-Tiny-1.000006/t/20-unit/Type-Coercion/typetiny-constructor.t Type-Tiny-1.000006/t/20-unit/Type-Coercion-FromMoose/basic.t Type-Tiny-1.000006/t/20-unit/Type-Coercion-FromMoose/errors.t Type-Tiny-1.000006/t/20-unit/Type-Coercion-Union/basic.t Type-Tiny-1.000006/t/20-unit/Type-Library/assert.t Type-Tiny-1.000006/t/20-unit/Type-Library/errors.t Type-Tiny-1.000006/t/20-unit/Type-Library/inheritance.t Type-Tiny-1.000006/t/20-unit/Type-Library/is.t Type-Tiny-1.000006/t/20-unit/Type-Library/to.t Type-Tiny-1.000006/t/20-unit/Type-Library/types.t Type-Tiny-1.000006/t/20-unit/Type-Params/badsigs.t Type-Tiny-1.000006/t/20-unit/Type-Params/carping.t Type-Tiny-1.000006/t/20-unit/Type-Params/coerce.t Type-Tiny-1.000006/t/20-unit/Type-Params/methods.t Type-Tiny-1.000006/t/20-unit/Type-Params/mixednamed.t Type-Tiny-1.000006/t/20-unit/Type-Params/multisig.t Type-Tiny-1.000006/t/20-unit/Type-Params/named.t Type-Tiny-1.000006/t/20-unit/Type-Params/noninline.t Type-Tiny-1.000006/t/20-unit/Type-Params/optional.t Type-Tiny-1.000006/t/20-unit/Type-Params/positional.t Type-Tiny-1.000006/t/20-unit/Type-Params/slurpy.t Type-Tiny-1.000006/t/20-unit/Type-Parser/basic.t Type-Tiny-1.000006/t/20-unit/Type-Parser/moosextypes.t Type-Tiny-1.000006/t/20-unit/Type-Registry/automagic.t Type-Tiny-1.000006/t/20-unit/Type-Registry/basic.t Type-Tiny-1.000006/t/20-unit/Type-Registry/methods.t Type-Tiny-1.000006/t/20-unit/Type-Registry/moosextypes.t Type-Tiny-1.000006/t/20-unit/Type-Registry/mousextypes.t Type-Tiny-1.000006/t/20-unit/Type-Tiny/arithmetic.t Type-Tiny-1.000006/t/20-unit/Type-Tiny/basic.t Type-Tiny-1.000006/t/20-unit/Type-Tiny/coercion-modifiers.t Type-Tiny-1.000006/t/20-unit/Type-Tiny/esoteric.t Type-Tiny-1.000006/t/20-unit/Type-Tiny/my-methods.t Type-Tiny-1.000006/t/20-unit/Type-Tiny/parameterization.t Type-Tiny-1.000006/t/20-unit/Type-Tiny/shortcuts.t Type-Tiny-1.000006/t/20-unit/Type-Tiny/smartmatch.t Type-Tiny-1.000006/t/20-unit/Type-Tiny/syntax.t Type-Tiny-1.000006/t/20-unit/Type-Tiny/to-moose.t Type-Tiny-1.000006/t/20-unit/Type-Tiny/to-mouse.t Type-Tiny-1.000006/t/20-unit/Type-Tiny-Class/basic.t Type-Tiny-1.000006/t/20-unit/Type-Tiny-Class/errors.t Type-Tiny-1.000006/t/20-unit/Type-Tiny-Class/plus-constructors.t Type-Tiny-1.000006/t/20-unit/Type-Tiny-Duck/basic.t Type-Tiny-1.000006/t/20-unit/Type-Tiny-Duck/errors.t Type-Tiny-1.000006/t/20-unit/Type-Tiny-Enum/basic.t Type-Tiny-1.000006/t/20-unit/Type-Tiny-Enum/errors.t Type-Tiny-1.000006/t/20-unit/Type-Tiny-Intersection/basic.t Type-Tiny-1.000006/t/20-unit/Type-Tiny-Intersection/errors.t Type-Tiny-1.000006/t/20-unit/Type-Tiny-Role/basic.t Type-Tiny-1.000006/t/20-unit/Type-Tiny-Role/errors.t Type-Tiny-1.000006/t/20-unit/Type-Tiny-Union/basic.t Type-Tiny-1.000006/t/20-unit/Type-Tiny-Union/errors.t Type-Tiny-1.000006/t/20-unit/Type-Tiny-_HalfOp/overload-precedence.t Type-Tiny-1.000006/t/20-unit/Type-Utils/classifier.t Type-Tiny-1.000006/t/20-unit/Type-Utils/dwim-both.t Type-Tiny-1.000006/t/20-unit/Type-Utils/dwim-moose.t Type-Tiny-1.000006/t/20-unit/Type-Utils/dwim-mouse.t Type-Tiny-1.000006/t/20-unit/Type-Utils/match-on-type.t Type-Tiny-1.000006/t/20-unit/Type-Utils/warnings.t Type-Tiny-1.000006/t/20-unit/Types-Common-Numeric/basic.t Type-Tiny-1.000006/t/20-unit/Types-Common-String/basic.t Type-Tiny-1.000006/t/20-unit/Types-Common-String/coerce.t Type-Tiny-1.000006/t/20-unit/Types-Common-String/unicode.t Type-Tiny-1.000006/t/20-unit/Types-Standard/basic.t Type-Tiny-1.000006/t/20-unit/Types-Standard/deep-coercions.t Type-Tiny-1.000006/t/20-unit/Types-Standard/lockdown.t Type-Tiny-1.000006/t/20-unit/Types-Standard/mxtmlb-alike.t Type-Tiny-1.000006/t/20-unit/Types-Standard/optlist.t Type-Tiny-1.000006/t/20-unit/Types-Standard/overload.t Type-Tiny-1.000006/t/20-unit/Types-Standard/strmatch.t Type-Tiny-1.000006/t/20-unit/Types-Standard/structured.t Type-Tiny-1.000006/t/20-unit/Types-Standard/tied.t Type-Tiny-1.000006/t/20-unit/Types-TypeTiny/basic.t Type-Tiny-1.000006/t/20-unit/Types-TypeTiny/coercion.t Type-Tiny-1.000006/t/20-unit/Types-TypeTiny/meta.t Type-Tiny-1.000006/t/30-integration/Class-InsideOut/basic.t Type-Tiny-1.000006/t/30-integration/Exporter-Tiny/basic.t Type-Tiny-1.000006/t/30-integration/Exporter-Tiny/installer.t Type-Tiny-1.000006/t/30-integration/Exporter-Tiny/role-conflict.t Type-Tiny-1.000006/t/30-integration/Function-Parameters/basic.t Type-Tiny-1.000006/t/30-integration/Kavorka/basic.t Type-Tiny-1.000006/t/30-integration/Moo/basic.t Type-Tiny-1.000006/t/30-integration/Moo/coercion-inlining-avoidance.t Type-Tiny-1.000006/t/30-integration/Moo/coercion.t Type-Tiny-1.000006/t/30-integration/Moo/exceptions.t Type-Tiny-1.000006/t/30-integration/Moo/inflation.t Type-Tiny-1.000006/t/30-integration/Moo/inflation2.t Type-Tiny-1.000006/t/30-integration/Moops/basic.t Type-Tiny-1.000006/t/30-integration/Moops/library-keyword.t Type-Tiny-1.000006/t/30-integration/Moose/accept-moose-types.t Type-Tiny-1.000006/t/30-integration/Moose/basic.t Type-Tiny-1.000006/t/30-integration/Moose/coercion.t Type-Tiny-1.000006/t/30-integration/Moose/inflate-then-inline.t Type-Tiny-1.000006/t/30-integration/Moose/native-attribute-traits.t Type-Tiny-1.000006/t/30-integration/MooseX-Getopt/coercion.t Type-Tiny-1.000006/t/30-integration/MooseX-Types/basic.t Type-Tiny-1.000006/t/30-integration/MooseX-Types/extending.t Type-Tiny-1.000006/t/30-integration/MooseX-Types/more.t Type-Tiny-1.000006/t/30-integration/Mouse/basic.t Type-Tiny-1.000006/t/30-integration/Mouse/coercion.t Type-Tiny-1.000006/t/30-integration/MouseX-Types/basic.t Type-Tiny-1.000006/t/30-integration/MouseX-Types/extending.t Type-Tiny-1.000006/t/30-integration/Object-Accessor/basic.t Type-Tiny-1.000006/t/30-integration/Return-Type/basic.t Type-Tiny-1.000006/t/30-integration/Sub-Quote/basic.t Type-Tiny-1.000006/t/30-integration/Sub-Quote/unquote-coercions.t Type-Tiny-1.000006/t/30-integration/Sub-Quote/unquote-constraints.t Type-Tiny-1.000006/t/30-integration/Switcheroo/basic.t Type-Tiny-1.000006/t/30-integration/Type-Tie/basic.t Type-Tiny-1.000006/t/30-integration/Validation-Class-Simple/archaic.t Type-Tiny-1.000006/t/30-integration/Validation-Class-Simple/basic.t Type-Tiny-1.000006/t/30-integration/match-simple/basic.t Type-Tiny-1.000006/lib/Type/Tiny/Manual/Coercions.pod Type-Tiny-1.000006/lib/Type/Tiny/Manual/Libraries.pod Type-Tiny-1.000006/lib/Type/Tiny/Manual/Optimization.pod Type-Tiny-1.000006/lib/Type/Tiny/Manual/Params.pod Type-Tiny-1.000006/lib/Type/Tiny/Manual/Policies.pod Type-Tiny-1.000006/lib/Type/Tiny/Manual/UsingWithMoo.pod Type-Tiny-1.000006/lib/Type/Tiny/Manual/UsingWithMoose.pod Type-Tiny-1.000006/lib/Type/Tiny/Manual/UsingWithMouse.pod Type-Tiny-1.000006/lib/Type/Tiny/Manual/UsingWithOther.pod Configuring T/TO/TOBYINK/Type-Tiny-1.000006.tar.gz with Makefile.PL >>> C:\Perl-5.22-32\bin\perl.exe Makefile.PL Checking if your kit is complete... Looks good Have \cpanfl~3.22-\var\megalib Want \perl-5~1.22-\lib Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [megalib] Config says: [MSWin32-x86-multi-thread-64int] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a dmake-style Makefile Writing Makefile for Type::Tiny Writing MYMETA.yml and MYMETA.json TOBYINK/Type-Tiny-1.000006.tar.gz C:\Perl-5.22-32\bin\perl.exe Makefile.PL -- OK Running make for T/TO/TOBYINK/Type-Tiny-1.000006.tar.gz >>> dmake cp lib/Type/Coercion/Union.pm blib\lib\Type\Coercion\Union.pm cp lib/Error/TypeTiny.pm blib\lib\Error\TypeTiny.pm cp lib/Type/Tiny/Class.pm blib\lib\Type\Tiny\Class.pm cp lib/Eval/TypeTiny.pm blib\lib\Eval\TypeTiny.pm cp lib/Type/Parser.pm blib\lib\Type\Parser.pm cp lib/Error/TypeTiny/WrongNumberOfParameters.pm blib\lib\Error\TypeTiny\WrongNumberOfParameters.pm cp lib/Type/Tiny/Intersection.pm blib\lib\Type\Tiny\Intersection.pm cp lib/Devel/TypeTiny/Perl56Compat.pm blib\lib\Devel\TypeTiny\Perl56Compat.pm cp lib/Type/Tiny/Duck.pm blib\lib\Type\Tiny\Duck.pm cp lib/Type/Registry.pm blib\lib\Type\Registry.pm cp lib/Type/Coercion/FromMoose.pm blib\lib\Type\Coercion\FromMoose.pm cp lib/Type/Tiny/Enum.pm blib\lib\Type\Tiny\Enum.pm cp lib/Type/Params.pm blib\lib\Type\Params.pm cp lib/Error/TypeTiny/Assertion.pm blib\lib\Error\TypeTiny\Assertion.pm cp lib/Reply/Plugin/TypeTiny.pm blib\lib\Reply\Plugin\TypeTiny.pm cp lib/Type/Tiny.pm blib\lib\Type\Tiny.pm cp lib/Devel/TypeTiny/Perl58Compat.pm blib\lib\Devel\TypeTiny\Perl58Compat.pm cp lib/Type/Coercion.pm blib\lib\Type\Coercion.pm cp lib/Error/TypeTiny/Compilation.pm blib\lib\Error\TypeTiny\Compilation.pm cp lib/Type/Library.pm blib\lib\Type\Library.pm cp lib/Test/TypeTiny.pm blib\lib\Test\TypeTiny.pm cp lib/Types/Common/String.pm blib\lib\Types\Common\String.pm cp lib/Types/Common/Numeric.pm blib\lib\Types\Common\Numeric.pm cp lib/Types/Standard/ArrayRef.pm blib\lib\Types\Standard\ArrayRef.pm cp lib/Type/Tiny/Manual/Coercions.pod blib\lib\Type\Tiny\Manual\Coercions.pod cp lib/Type/Tiny/_HalfOp.pm blib\lib\Type\Tiny\_HalfOp.pm cp lib/Type/Tiny/Manual/UsingWithMoo.pod blib\lib\Type\Tiny\Manual\UsingWithMoo.pod cp lib/Type/Utils.pm blib\lib\Type\Utils.pm cp lib/Type/Tiny/Manual/Libraries.pod blib\lib\Type\Tiny\Manual\Libraries.pod cp lib/Type/Tiny/Manual/UsingWithOther.pod blib\lib\Type\Tiny\Manual\UsingWithOther.pod cp lib/Type/Tiny/Manual/UsingWithMouse.pod blib\lib\Type\Tiny\Manual\UsingWithMouse.pod cp lib/Type/Tiny/Manual/Params.pod blib\lib\Type\Tiny\Manual\Params.pod cp lib/Type/Tiny/Union.pm blib\lib\Type\Tiny\Union.pm cp lib/Type/Tiny/Manual.pod blib\lib\Type\Tiny\Manual.pod cp lib/Type/Tiny/Manual/Optimization.pod blib\lib\Type\Tiny\Manual\Optimization.pod cp lib/Type/Tiny/Role.pm blib\lib\Type\Tiny\Role.pm cp lib/Type/Tiny/Manual/Policies.pod blib\lib\Type\Tiny\Manual\Policies.pod cp lib/Types/Standard.pm blib\lib\Types\Standard.pm cp lib/Type/Tiny/Manual/UsingWithMoose.pod blib\lib\Type\Tiny\Manual\UsingWithMoose.pod cp lib/Types/Standard/Tuple.pm blib\lib\Types\Standard\Tuple.pm cp lib/Types/Standard/Dict.pm blib\lib\Types\Standard\Dict.pm cp lib/Types/Standard/HashRef.pm blib\lib\Types\Standard\HashRef.pm cp lib/Types/Standard/Map.pm blib\lib\Types\Standard\Map.pm cp lib/Types/TypeTiny.pm blib\lib\Types\TypeTiny.pm cp lib/Types/Standard/ScalarRef.pm blib\lib\Types\Standard\ScalarRef.pm TOBYINK/Type-Tiny-1.000006.tar.gz dmake -- OK Running make test >>> dmake test TEST_VERBOSE=1 "C:\Perl-5.22-32\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'inc', 'blib\lib', 'blib\arch')" t/*.t t/20-unit/Devel-TypeTiny-Perl56Compat/*.t t/20-unit/Devel-TypeTiny-Perl58Compat/*.t t/20-unit/Error-TypeTiny-Assertion/*.t t/20-unit/Error-TypeTiny-Compilation/*.t t/20-unit/Error-TypeTiny-WrongNumberOfParameters/*.t t/20-unit/Error-TypeTiny/*.t t/20-unit/Eval-TypeTiny/*.t t/20-unit/Test-TypeTiny/*.t t/20-unit/Type-Coercion-FromMoose/*.t t/20-unit/Type-Coercion-Union/*.t t/20-unit/Type-Coercion/*.t t/20-unit/Type-Library/*.t t/20-unit/Type-Params/*.t t/20-unit/Type-Parser/*.t t/20-unit/Type-Registry/*.t t/20-unit/Type-Tiny-Class/*.t t/20-unit/Type-Tiny-Duck/*.t t/20-unit/Type-Tiny-Enum/*.t t/20-unit/Type-Tiny-Intersection/*.t t/20-unit/Type-Tiny-Role/*.t t/20-unit/Type-Tiny-Union/*.t t/20-unit/Type-Tiny-_HalfOp/*.t t/20-unit/Type-Tiny/*.t t/20-unit/Type-Utils/*.t t/20-unit/Types-Common-Numeric/*.t t/20-unit/Types-Common-String/*.t t/20-unit/Types-Standard/*.t t/20-unit/Types-TypeTiny/*.t t/30-integration/Class-InsideOut/*.t t/30-integration/Exporter-Tiny/*.t t/30-integration/Function-Parameters/*.t t/30-integration/Kavorka/*.t t/30-integration/Moo/*.t t/30-integration/Moops/*.t t/30-integration/Moose/*.t t/30-integration/MooseX-Getopt/*.t t/30-integration/MooseX-Types/*.t t/30-integration/Mouse/*.t t/30-integration/MouseX-Types/*.t t/30-integration/Object-Accessor/*.t t/30-integration/Return-Type/*.t t/30-integration/Sub-Quote/*.t t/30-integration/Switcheroo/*.t t/30-integration/Type-Tie/*.t t/30-integration/Validation-Class-Simple/*.t t/30-integration/match-simple/*.t t/40-regression/*.t # # Perl 5.022001 # Exporter::Tiny 0.044 # Type::Tie 0.009 # Type::Tiny::XS undef # # Moo 2.003001 # Moose undef Argument "v2" isn't numeric in sprintf at t/00-begin.t line 35, line 9. # Mouse 0.4 # # $AUTOMATED_TESTING "1" # $NONINTERACTIVE_TESTING undef # $EXTENDED_TESTING undef # $AUTHOR_TESTING undef # $RELEASE_TESTING undef # # $PERL_TYPE_TINY_XS undef # $PERL_TYPES_STANDARD_STRICTNUM undef # $PERL_ONLY undef # # >>>> Type::Tiny is using Mouse::XS # t/00-begin.t .............................................. ok 1 1..1 ok t/01-compile.t ............................................ ok 1 - use Eval::TypeTiny; ok 2 - use Test::TypeTiny; ok 3 - use Type::Coercion; ok 4 - use Type::Coercion::Union; ok 5 - use Error::TypeTiny; ok 6 - use Error::TypeTiny::Assertion; ok 7 - use Error::TypeTiny::Compilation; ok 8 - use Error::TypeTiny::WrongNumberOfParameters; ok 9 - use Type::Library; ok 10 - use Types::Standard; ok 11 - use Types::TypeTiny; ok 12 - use Type::Tiny; ok 13 - use Type::Tiny::Class; ok 14 - use Type::Tiny::Duck; ok 15 - use Type::Tiny::Enum; ok 16 - use Type::Tiny::Intersection; ok 17 - use Type::Tiny::Role; ok 18 - use Type::Tiny::Union; ok 19 - use Type::Utils; ok 20 - use Type::Params; 1..20 ok t/02-api.t ................................................ ok 1 # skip Moose::Meta::TypeConstraint PRIVATE API: '_actually_compile_type_constraint' ok 2 # skip Moose::Meta::TypeConstraint PRIVATE API: '_collect_all_parents' ok 3 # skip Moose::Meta::TypeConstraint PRIVATE API: '_compile_subtype' ok 4 # skip Moose::Meta::TypeConstraint PRIVATE API: '_compile_type' ok 5 # skip Moose::Meta::TypeConstraint PRIVATE API: '_compiled_type_constraint' ok 6 # skip Moose::Meta::TypeConstraint PRIVATE API: '_default_message' ok 7 # skip Moose::Meta::TypeConstraint PRIVATE API: '_has_compiled_type_constraint' ok 8 # skip Moose::Meta::TypeConstraint PRIVATE API: '_has_inlined_type_constraint' ok 9 # skip Moose::Meta::TypeConstraint PRIVATE API: '_inline_check' ok 10 # skip Moose::Meta::TypeConstraint PRIVATE API: '_inline_environment' ok 11 # skip Moose::Meta::TypeConstraint PRIVATE API: '_new' ok 12 # skip Moose::Meta::TypeConstraint PRIVATE API: '_package_defined_in' ok 13 # skip Moose::Meta::TypeConstraint PRIVATE API: '_set_constraint' ok 14 - Moose::Meta::TypeConstraint API: TestType->can('assert_coerce') ok 15 - Moose::Meta::TypeConstraint API: TestType->can('assert_valid') ok 16 - Moose::Meta::TypeConstraint API: TestType->can('can_be_inlined') ok 17 - Moose::Meta::TypeConstraint API: TestType->can('check') ok 18 - Moose::Meta::TypeConstraint API: TestType->can('coerce') ok 19 - Moose::Meta::TypeConstraint API: TestType->can('coercion') ok 20 - Moose::Meta::TypeConstraint API: TestType->can('compile_type_constraint') ok 21 - Moose::Meta::TypeConstraint API: TestType->can('constraint') ok 22 - Moose::Meta::TypeConstraint API: TestType->can('create_child_type') ok 23 - Moose::Meta::TypeConstraint API: TestType->can('equals') ok 24 - Moose::Meta::TypeConstraint API: TestType->can('get_message') ok 25 - Moose::Meta::TypeConstraint API: TestType->can('has_coercion') ok 26 - Moose::Meta::TypeConstraint API: TestType->can('has_message') ok 27 - Moose::Meta::TypeConstraint API: TestType->can('has_parent') ok 28 - Moose::Meta::TypeConstraint API: TestType->can('inline_environment') ok 29 - Moose::Meta::TypeConstraint API: TestType->can('inlined') ok 30 - Moose::Meta::TypeConstraint API: TestType->can('is_a_type_of') ok 31 - Moose::Meta::TypeConstraint API: TestType->can('is_subtype_of') ok 32 - Moose::Meta::TypeConstraint API: TestType->can('message') ok 33 - Moose::Meta::TypeConstraint API: TestType->can('meta') ok 34 - Moose::Meta::TypeConstraint API: TestType->can('name') ok 35 - Moose::Meta::TypeConstraint API: TestType->can('new') ok 36 - Moose::Meta::TypeConstraint API: TestType->can('parent') ok 37 - Moose::Meta::TypeConstraint API: TestType->can('parents') ok 38 - Moose::Meta::TypeConstraint API: TestType->can('validate') ok 39 - Mouse::Meta::TypeConstraint API: TestType->can('__is_parameterized') ok 40 - Mouse::Meta::TypeConstraint API: TestType->can('_add_type_coercions') ok 41 - Mouse::Meta::TypeConstraint API: TestType->can('_as_string') ok 42 - Mouse::Meta::TypeConstraint API: TestType->can('_compiled_type_coercion') ok 43 - Mouse::Meta::TypeConstraint API: TestType->can('_compiled_type_constraint') ok 44 - Mouse::Meta::TypeConstraint API: TestType->can('_identity') ok 45 - Mouse::Meta::TypeConstraint API: TestType->can('_unite') ok 46 - Mouse::Meta::TypeConstraint API: TestType->can('assert_valid') ok 47 - Mouse::Meta::TypeConstraint API: TestType->can('check') ok 48 - Mouse::Meta::TypeConstraint API: TestType->can('coerce') ok 49 - Mouse::Meta::TypeConstraint API: TestType->can('compile_type_constraint') ok 50 - Mouse::Meta::TypeConstraint API: TestType->can('create_child_type') ok 51 - Mouse::Meta::TypeConstraint API: TestType->can('get_message') ok 52 - Mouse::Meta::TypeConstraint API: TestType->can('has_coercion') ok 53 - Mouse::Meta::TypeConstraint API: TestType->can('is_a_type_of') ok 54 - Mouse::Meta::TypeConstraint API: TestType->can('message') ok 55 - Mouse::Meta::TypeConstraint API: TestType->can('name') ok 56 - Mouse::Meta::TypeConstraint API: TestType->can('new') ok 57 - Mouse::Meta::TypeConstraint API: TestType->can('parameterize') ok 58 - Mouse::Meta::TypeConstraint API: TestType->can('parent') ok 59 - Mouse::Meta::TypeConstraint API: TestType->can('type_parameter') ok 60 # skip Moose::Meta::TypeCoercion PRIVATE API: '_compiled_type_coercion' ok 61 # skip Moose::Meta::TypeCoercion PRIVATE API: '_new' ok 62 - Moose::Meta::TypeCoercion API: TestCoercion->can('add_type_coercions') ok 63 - Moose::Meta::TypeCoercion API: TestCoercion->can('coerce') ok 64 - Moose::Meta::TypeCoercion API: TestCoercion->can('compile_type_coercion') ok 65 - Moose::Meta::TypeCoercion API: TestCoercion->can('has_coercion_for_type') ok 66 - Moose::Meta::TypeCoercion API: TestCoercion->can('meta') ok 67 - Moose::Meta::TypeCoercion API: TestCoercion->can('new') ok 68 - Moose::Meta::TypeCoercion API: TestCoercion->can('type_coercion_map') ok 69 - Moose::Meta::TypeCoercion API: TestCoercion->can('type_constraint') 1..69 ok t/03-leak.t ............................................... skipped: useithreads t/20-unit/Devel-TypeTiny-Perl56Compat/basic.t ............. ok 1 - eval(sprintf "use strict; %s", B::perlstring("foo")) 1..1 ok t/20-unit/Devel-TypeTiny-Perl58Compat/basic.t ............. ok 1 - re::is_regexp(qr{foo}) ok 2 - re::is_regexp(bless qr{foo}, "Foo") 1..2 ok t/20-unit/Error-TypeTiny-Assertion/basic.t ................ ok 1 - '$e' isa 'Error::TypeTiny' ok 2 - $Error::TypeTiny::LastError ok 3 - $e->message is as expected ok 4 - '$e' isa 'Error::TypeTiny::Assertion' ok 5 - $e->type is as expected ok 6 - $e->value is as expected ok 7 - $e->explain is as expected ok 8 - ArrayRef[Int] deep explanation, given [1, 2, [3]] ok 9 - ArrayRef[Int] deep explanation, given {} ok 10 - Ref["ARRAY"] deep explanation, given {} ok 11 - HashRef[Maybe[Int]] deep explanation, given {a => undef, b => 42, c => []} ok 12 - $dict deep explanation, given {a => 1, c => 1} ok 13 - $dict deep explanation, given {b => 1} ok 14 - $dict deep explanation, given {a => 1, b => 2} not ok 15 - Map[Int,Num] deep explanation, given {1=>1.1,2.2=>2.3,3.3=>3.4} # TODO Data::Dumper output changed after 2.145 # Failed (TODO) test 'Map[Int,Num] deep explanation, given {1=>1.1,2.2=>2.3,3.3=>3.4}' # at t/20-unit/Error-TypeTiny-Assertion/basic.t line 173. # Structures begin differing at: # $got->[0] = 'Reference {"1" => "1.1","2.2" => "2.3","3.3" => "3.4"} did not pass type constraint "Map[Int,Num]"' # $expected->[0] = 'Reference {1 => "1.1","2.2" => "2.3","3.3" => "3.4"} did not pass type constraint "Map[Int,Num]"' ok 16 - Dict[foo=>ArrayRef,slurpy Map[Ext,Int]] works ok it seems ok 17 - Dict[foo=>ArrayRef,slurpy Map[Ext,Int]] explanation, given {foo => [], x_bar => 1, x_baz => []} ok 18 - $AlwaysFail explanation, given 1 ok 19 - $TupleOf1 explanation, given [1,2] ok 20 - $SlurpyThing explanation, given 1 ok 21 - $SlurpyThing explanation, given [[]] ok 22 - $SlurpyThing explanation, given [1.1, yeah => "Hello"] ok 23 - $UndefRef explanantion, given \"bar" ok 24 - $UndefRef explanantion, given [] ok 25 - $e_where->context ok 26 - "$e_where" ok 27 - correct exception from type with null constraint ok 28 - local $Type::Tiny::DD 1..28 ok t/20-unit/Error-TypeTiny-Compilation/basic.t .............. ok 1 - '$e' isa 'Error::TypeTiny::Compilation' ok 2 - throw exception when code does not compile ok 3 - $e->message # Subtest: $e->context ok 1 - $ctx->{package} ok 2 - $ctx->{file} ok 3 - $ctx->{line} >= 37 ok 4 - $ctx->{line} <= 42 1..4 ok 4 - $e->context ok 5 - $e->errstr ok 6 - $e->code ok 7 - $e->environment 1..7 ok t/20-unit/Error-TypeTiny-WrongNumberOfParameters/basic.t .. # Subtest: nth_root() ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 1..6 ok 1 - nth_root() # Subtest: nth_root(1) ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 1..6 ok 2 - nth_root(1) # Subtest: nth_root(1, 2, 3) ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 1..6 ok 3 - nth_root(1, 2, 3) # Subtest: nth_root_opt() ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 1..6 ok 4 - nth_root_opt() # Subtest: nth_root_slurp() ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 1..6 ok 5 - nth_root_slurp() ok 6 - silly exception which should never happen anyway ok 7 - unspecific exception 1..7 ok t/20-unit/Error-TypeTiny/basic.t .......................... ok 1 - $e1->message (default) ok 2 - $e1->context->{main} ok 3 - $e1->contex1t->{line} ok 4 - $e1->context->{file} ok 5 - $e2->message ok 6 - $e3->message (set by croak) 1..6 ok t/20-unit/Error-TypeTiny/stacktrace.t ..................... ok 1 1..1 ok t/20-unit/Eval-TypeTiny/basic.t ........................... ok 1 - closure over scalar ok 2 - closure over array ok 3 - closure over hash ok 4 - closing over variables really really really works! ok 5 ok 6 ok 7 - closed over variables disappear on cue ok 8 - can close over tied variables ... AUTOLOAD stuff ok 9 - ... can ok 10 - ... !can ok 11 - ... tie still works ok 12 - ... can be retied ok 13 - ... can be untied ok 14 - "description" option works ok 15 - "line" option works 1..15 ok t/20-unit/Eval-TypeTiny/fallback-aliases.t ................ skipped: test currently not working (TODO) t/20-unit/Eval-TypeTiny/lexical-subs.t .................... ok 1 - closure over scalar ok 2 - closure over array ok 3 - closure over hash ok 4 - closure over lexical sub - undef ok 5 - closure over lexical sub - 2 ok 6 - closure over lexical sub - 42 ok 7 - '$e' isa 'Error::TypeTiny::Compilation' ok 8 - throw exception when code does not compile ok 9 - $e->errstr ok 10 - $e->code ok 11 - "description" option works ok 12 - "line" option works 1..12 ok t/20-unit/Test-TypeTiny/basic.t ........................... 1..48 ok 1 - Test 'successful should_pass' completed ok 2 - Test 'successful should_pass' no premature diagnostication ok 3 - Test 'successful should_pass' result count ok 4 - subtest 'Value "1" passes type constraint Int' of 'successful should_pass' compare ok ok 5 - subtest 'Value "1" passes type constraint Int' of 'successful should_pass' compare type ok 6 - subtest 'Value "1" passes type constraint Int' of 'successful should_pass' compare name ok 7 - checking depth ok 8 - subtest 'Value "1" passes type constraint Int' of 'successful should_pass' compare diag ok 9 - Test 'unsuccessful should_pass' completed ok 10 - Test 'unsuccessful should_pass' no premature diagnostication ok 11 - Test 'unsuccessful should_pass' result count ok 12 - subtest 'Reference [] passes type constraint Int' of 'unsuccessful should_pass' compare ok ok 13 - subtest 'Reference [] passes type constraint Int' of 'unsuccessful should_pass' compare type ok 14 - subtest 'Reference [] passes type constraint Int' of 'unsuccessful should_pass' compare name ok 15 - checking depth ok 16 - subtest 'Reference [] passes type constraint Int' of 'unsuccessful should_pass' compare diag ok 17 - Test 'successful (i.e. failing) should_fail' completed ok 18 - Test 'successful (i.e. failing) should_fail' no premature diagnostication ok 19 - Test 'successful (i.e. failing) should_fail' result count ok 20 - subtest 'Reference [] fails type constraint Int' of 'successful (i.e. failing) should_fail' compare ok ok 21 - subtest 'Reference [] fails type constraint Int' of 'successful (i.e. failing) should_fail' compare type ok 22 - subtest 'Reference [] fails type constraint Int' of 'successful (i.e. failing) should_fail' compare name ok 23 - checking depth ok 24 - subtest 'Reference [] fails type constraint Int' of 'successful (i.e. failing) should_fail' compare diag ok 25 - Test 'unsuccessful (i.e. passing) should_fail' completed ok 26 - Test 'unsuccessful (i.e. passing) should_fail' no premature diagnostication ok 27 - Test 'unsuccessful (i.e. passing) should_fail' result count ok 28 - subtest 'Value "1" fails type constraint Int' of 'unsuccessful (i.e. passing) should_fail' compare ok ok 29 - subtest 'Value "1" fails type constraint Int' of 'unsuccessful (i.e. passing) should_fail' compare type ok 30 - subtest 'Value "1" fails type constraint Int' of 'unsuccessful (i.e. passing) should_fail' compare name ok 31 - checking depth ok 32 - subtest 'Value "1" fails type constraint Int' of 'unsuccessful (i.e. passing) should_fail' compare diag ok 33 - Test 'successful ok_subtype' completed ok 34 - Test 'successful ok_subtype' no premature diagnostication ok 35 - Test 'successful ok_subtype' result count ok 36 - subtest 'Num subtype: Int' of 'successful ok_subtype' compare ok ok 37 - subtest 'Num subtype: Int' of 'successful ok_subtype' compare type ok 38 - subtest 'Num subtype: Int' of 'successful ok_subtype' compare name ok 39 - checking depth ok 40 - subtest 'Num subtype: Int' of 'successful ok_subtype' compare diag ok 41 - Test 'unsuccessful ok_subtype' completed ok 42 - Test 'unsuccessful ok_subtype' no premature diagnostication ok 43 - Test 'unsuccessful ok_subtype' result count ok 44 - subtest 'Int subtype: Num' of 'unsuccessful ok_subtype' compare ok ok 45 - subtest 'Int subtype: Num' of 'unsuccessful ok_subtype' compare type ok 46 - subtest 'Int subtype: Num' of 'unsuccessful ok_subtype' compare name ok 47 - checking depth ok 48 - subtest 'Int subtype: Num' of 'unsuccessful ok_subtype' compare diag ok t/20-unit/Test-TypeTiny/extended.t ........................ 1..16 ok 1 - Test 'successful ok_subtype' completed ok 2 - Test 'successful ok_subtype' no premature diagnostication ok 3 - Test 'successful ok_subtype' result count ok 4 - subtest 'Num subtype: Int' of 'successful ok_subtype' compare ok ok 5 - subtest 'Num subtype: Int' of 'successful ok_subtype' compare type ok 6 - subtest 'Num subtype: Int' of 'successful ok_subtype' compare name ok 7 - checking depth ok 8 - subtest 'Num subtype: Int' of 'successful ok_subtype' compare diag ok 9 - Test 'unsuccessful ok_subtype' completed ok 10 - Test 'unsuccessful ok_subtype' no premature diagnostication ok 11 - Test 'unsuccessful ok_subtype' result count ok 12 - subtest 'Int subtype: Num' of 'unsuccessful ok_subtype' compare ok ok 13 - subtest 'Int subtype: Num' of 'unsuccessful ok_subtype' compare type ok 14 - subtest 'Int subtype: Num' of 'unsuccessful ok_subtype' compare name ok 15 - checking depth ok 16 - subtest 'Int subtype: Num' of 'unsuccessful ok_subtype' compare diag ok t/20-unit/Test-TypeTiny/matchfor.t ........................ 1..24 ok 1 - Test 'successful matchfor(qr//)' completed ok 2 - Test 'successful matchfor(qr//)' no premature diagnostication ok 3 - Test 'successful matchfor(qr//)' result count ok 4 - subtest 'Yahoo' of 'successful matchfor(qr//)' compare ok ok 5 - subtest 'Yahoo' of 'successful matchfor(qr//)' compare type ok 6 - subtest 'Yahoo' of 'successful matchfor(qr//)' compare name ok 7 - checking depth ok 8 - subtest 'Yahoo' of 'successful matchfor(qr//)' compare diag ok 9 - Test 'successful matchfor(qr//)' completed ok 10 - Test 'successful matchfor(qr//)' no premature diagnostication ok 11 - Test 'successful matchfor(qr//)' result count ok 12 - subtest 'Yahoo' of 'successful matchfor(qr//)' compare ok ok 13 - subtest 'Yahoo' of 'successful matchfor(qr//)' compare type ok 14 - subtest 'Yahoo' of 'successful matchfor(qr//)' compare name ok 15 - checking depth ok 16 - subtest 'Yahoo' of 'successful matchfor(qr//)' compare diag ok 17 - Test 'successful matchfor(CLASS)' completed ok 18 - Test 'successful matchfor(CLASS)' no premature diagnostication ok 19 - Test 'successful matchfor(CLASS)' result count ok 20 - subtest 'Yahoo' of 'successful matchfor(CLASS)' compare ok ok 21 - subtest 'Yahoo' of 'successful matchfor(CLASS)' compare type ok 22 - subtest 'Yahoo' of 'successful matchfor(CLASS)' compare name ok 23 - checking depth ok 24 - subtest 'Yahoo' of 'successful matchfor(CLASS)' compare diag ok t/20-unit/Type-Coercion-FromMoose/basic.t ................. skipped: List::Util version 1.45 required--this is only version 1.43 at C:/cpanfly-5.22-32/var/megalib/Moose/Exporter.pm line 9. t/20-unit/Type-Coercion-FromMoose/errors.t ................ skipped: List::Util version 1.45 required--this is only version 1.43 at C:/cpanfly-5.22-32/var/megalib/Moose/Exporter.pm line 9. t/20-unit/Type-Coercion-Union/basic.t ..................... ok 1 - Value "4" passes type constraint RoundedInteger ok 2 - Value "1.1" fails type constraint RoundedInteger ok 3 - Value "xyz" fails type constraint RoundedInteger ok 4 - Value "xyz" passes type constraint String3 ok 5 - Value "x" fails type constraint String3 ok 6 - Value "wxyz" fails type constraint String3 ok 7 - Value "3.4" passes type constraint RoundedInteger|String3 ok 8 - Value "30" passes type constraint RoundedInteger|String3 ok 9 - Value "3.12" fails type constraint RoundedInteger|String3 ok 10 - Value "wxyz" fails type constraint RoundedInteger|String3 ok 11 - RoundedInteger coerces from Num ok 12 - RoundedInteger does not coerce from Str ok 13 - String3 coerces from Str ok 14 - String3 does not coerce from ArrayRef ok 15 - unions automatically have a coercion if their child constraints do # (((defined $X and $X =~ /\A-?[0-9]+\z/) or do { !ref($X) and $X =~ $Types::Standard::_StrMatch{"(?^:^.{3}\$)"} })) ? $X : ((defined($X) && !ref($X) && Scalar::Util::looks_like_number($X))) ? scalar(do { local $_ = $X; int($_) }) : (do { defined($X) and do { ref(\$X) eq 'SCALAR' or ref(\(my $val = $X)) eq 'SCALAR' } }) ? scalar(do { local $_ = $X; substr("$_ ", 0, 3) }) : $X ok 16 - unions do not automatically have a coercion if their child constraints do not ok 17 - Union1 does not need to coerce an Int ok 18 - Union1 does not need to coerce a String3 ok 19 - Union1 does not need to coerce a String3, even if it looks like a Num ok 20 - Union1 coerces Str -> String3 ok 21 - given the choice of two valid coercions, Union1 prefers RoundedInteger because it occurs sooner ok 22 - Union1 cannot coerce an arrayref ok 23 - Cannot add to Type::Tiny::Union's coercion 1..23 ok t/20-unit/Type-Coercion/basic.t ........................... ok 1 - coercion works ok 2 - coercion overloads &{} ok 3 - BigInteger has_coercion_for_type ArrayRef ok 4 - BigInteger has_coercion_for_type SmallInteger ok 5 - not BigInteger has_coercion_for_type SmallInteger ok 6 - BigInteger has_coercion_for_type BigInteger eq "0 but true" ok 7 - BigInteger has_coercion_for_type $BiggerInteger eq "0 but true" ok 8 - BigInteger has_coercion_for_value [] ok 9 - BigInteger has_coercion_for_value 2 ok 10 - not BigInteger has_coercion_for_value {} ok 11 - BigInteger has_coercion_for_value 200 eq "0 but true" ok 12 - coerce doesn't throw an exception if it can coerce ok 13 - coerce doesn't throw an exception if it can't coerce ok 14 - assert_coerce doesn't throw an exception if it can coerce ok 15 - assert_coerce DOES throw an exception if it can't coerce ok 16 - 'ArrayRefFromAny' isa 'Type::Coercion' ok 17 - ArrayRefFromAny coercion works ok 18 - Coercion ArrayRefFromAny+ArrayRefFromPiped prioritizes ArrayRefFromAny ok 19 - Coercion ArrayRefFromPiped+ArrayRefFromAny prioritizes ArrayRefFromPiped ok 20 - Type $arr coercion works ok 21 - Type $sum3 coercion works ok 22 - Type $sum4 coercion works ok 23 - Reference [] passes type constraint ArrayRef|Str ok 24 - Value "1|2|3" passes type constraint ArrayRef|Str ok 25 - Reference {} fails type constraint ArrayRef|Str ok 26 - Reference [] passes type constraint ArrayRef ok 27 - Value "1|2|3" fails type constraint ArrayRef ok 28 - Reference {} fails type constraint ArrayRef ok 29 - $arrayref_from_piped->coercibles == $arrayref_from_piped->coercibles 1..29 ok t/20-unit/Type-Coercion/esoteric.t ........................ ok 1 - $type->coercion->meta ok 2 - $type->coercion->add_type_coercions(TYPE, STR) ok 3 - $type->coercion->_compiled_type_coercion(OBJECT) ok 4 - $type->coercion->_compiled_type_coercion(CODE) 1..4 ok t/20-unit/Type-Coercion/frozen.t .......................... skipped: List::Util version 1.45 required--this is only version 1.43 at C:/cpanfly-5.22-32/var/megalib/Moose/Exporter.pm line 9. t/20-unit/Type-Coercion/inlining.t ........................ ok 1 - inlined coercion works ok 2 - no coercion necessary ok 3 - no coercion possible 1..3 ok t/20-unit/Type-Coercion/parameterized.t ................... ok 1 - length $chars == 17 ok 2 - length $bytes_utf8 == 19 ok 3 - length $bytes_western == 17 ok 4 - $SplitSpace can be inlined ok 5 - $SplitPipe can be inlined ok 6 - $SplitSpace->coerce($chars) ok 7 - $SplitSpace->coerce($bytes_utf8) ok 8 - $SplitSpace->coerce($bytes_western) ok 9 - Reference ["Caf\x{e9}","Paris|Gar\x{e7}on"] passes type constraint ArrayRef[Str] ok 10 - Reference ["Caf\303\251","Paris|Gar\303\247on"] passes type constraint ArrayRef[Str] ok 11 - Reference ["Caf\351","Paris|Gar\347on"] passes type constraint ArrayRef[Str] ok 12 - $SplitPipe->coerce($chars) ok 13 - $SplitPipe->coerce($bytes_utf8) ok 14 - $SplitPipe->coerce($bytes_western) ok 15 - $JoinPipe->coerce($arr_chars) ok 16 - Value "Caf\x{e9} Paris|Gar\x{e7}on" passes type constraint Str ok 17 - $JoinPipe->coerce($arr_bytes_utf8) ok 18 - Value "Caf\303\251 Paris|Gar\303\247on" passes type constraint Str ok 19 - $JoinPipe->coerce($arr_bytes_western) ok 20 - Value "Caf\351 Paris|Gar\347on" passes type constraint Str ok 21 - $Stringy->is_parameterizable ok 22 - 'parameterizable coercion' isa 'Type::Coercion' ok 23 - ... coercion included in base definition works ok 24 - ... coercion generated by parameterization does not exist yet ok 25 - 'parameterized coercion which has not yet been combined with type constraint' isa 'Type::Coercion' ok 26 - ... coercion included in base definition works ok 27 - ... coercion generated by parameterization works ok 28 - 'type constraint consuming parameterized coercion' isa 'Type::Tiny' ok 29 - ... coercion included in base definition works ok 30 - ... coercion generated by parameterization works; must have been regenerated 1..30 ok t/20-unit/Type-Coercion/smartmatch.t ...................... skipped: Perl too new t/20-unit/Type-Coercion/typetiny-constructor.t ............ # Subtest: coercion => ARRAY ok 1 ok 2 ok 3 1..3 ok 1 - coercion => ARRAY # Subtest: coercion => CODE ok 1 ok 2 ok 3 1..3 ok 2 - coercion => CODE 1..2 ok t/20-unit/Type-Library/assert.t ........................... ok 1 - assert_String works (value that should pass) ok 2 - assert_String works (value that should fail) ok 3 - BiggerLib::assert_String works (value that should pass) ok 4 - BiggerLib::assert_String works (value that should fail) ok 5 - assert_SmallInteger works (value that should pass) ok 6 - assert_SmallInteger works (value that should fail) 1..6 ok t/20-unit/Type-Library/errors.t ........................... ok 1 - cannot add same type constraint twice ok 2 - cannot add an anonymous type constraint to a library ok 3 - cannot add a coercion with same name as a constraint 1..3 ok t/20-unit/Type-Library/inheritance.t ...................... ok 1 - length $chars == 17 ok 2 - length $bytes_utf8 == 19 ok 3 - length $bytes_western == 17 ok 4 - $SplitSpace can be inlined ok 5 - $SplitPipe can be inlined ok 6 - $SplitSpace->coerce($chars) ok 7 - $SplitSpace->coerce($bytes_utf8) ok 8 - $SplitSpace->coerce($bytes_western) ok 9 - Reference ["Caf\x{e9}","Paris|Gar\x{e7}on"] passes type constraint ArrayRef[Str] ok 10 - Reference ["Caf\303\251","Paris|Gar\303\247on"] passes type constraint ArrayRef[Str] ok 11 - Reference ["Caf\351","Paris|Gar\347on"] passes type constraint ArrayRef[Str] ok 12 - $SplitPipe->coerce($chars) ok 13 - $SplitPipe->coerce($bytes_utf8) ok 14 - $SplitPipe->coerce($bytes_western) ok 15 - $JoinPipe->coerce($arr_chars) ok 16 - Value "Caf\x{e9} Paris|Gar\x{e7}on" passes type constraint Str ok 17 - $JoinPipe->coerce($arr_bytes_utf8) ok 18 - Value "Caf\303\251 Paris|Gar\303\247on" passes type constraint Str ok 19 - $JoinPipe->coerce($arr_bytes_western) ok 20 - Value "Caf\351 Paris|Gar\347on" passes type constraint Str 1..20 ok t/20-unit/Type-Library/is.t ............................... ok 1 - is_String works (value that should pass) ok 2 - is_String works (value that should fail) ok 3 - is_Number works (value that should pass) ok 4 - is_Number works (value that should fail) ok 5 - is_Integer works (value that should pass) ok 6 - is_Integer works (value that should fail) ok 7 - is_SmallInteger works (value that should pass) ok 8 - is_SmallInteger works (value that should fail) 1..8 ok t/20-unit/Type-Library/to.t ............................... ok 1 - to_BigInteger converts a small integer OK ok 2 - to_BigInteger leaves an existing BigInteger OK ok 3 - to_BigInteger ignores something it cannot coerce ok 4 - no coercion for Str - should die 1..4 ok t/20-unit/Type-Library/types.t ............................ ok 1 - 'String' isa 'Type::Tiny' ok 2 - 'Number' isa 'Type::Tiny' ok 3 - 'Integer' isa 'Type::Tiny' ok 4 - 'DemoLib::String' isa 'Type::Tiny' ok 5 - 'DemoLib::Number' isa 'Type::Tiny' ok 6 - 'DemoLib::Integer' isa 'Type::Tiny' ok 7 - String has correct stringification ok 8 - Number has correct stringification ok 9 - Integer has correct stringification ok 10 - DemoLib::String has correct stringification ok 11 - DemoLib::Number has correct stringification ok 12 - DemoLib::Integer has correct stringification ok 13 - coderef overload (with value that should pass type constraint) does not die ok 14 - coderef overload returns correct value ok 15 - coderef overload (value that should fail type constraint) dies ok 16 - Sub::Exporter-style export renaming ok 17 - eq works ok 18 - type constant in list context ok 19 - parameterizable type constant in list context ok 20 - parameterized type constant in list context 1..20 ok t/20-unit/Type-Params/badsigs.t ........................... ok 1 - Cannot follow an optional parameter with a required parameter ok 2 - Cannot follow a slurpy parameter with anything ok 3 - Slurpy parameters must be hashrefs or arrayrefs 1..3 ok t/20-unit/Type-Params/carping.t ........................... ok 1 - An object of class 'Error::TypeTiny::Assertion' isa 'Error::TypeTiny' ok 2 1..2 ok t/20-unit/Type-Params/coerce.t ............................ ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 - if value passes type constraint; no need to clone arrayref ok 8 - if value fails type constraint; need to clone arrayref ok 9 1..9 ok t/20-unit/Type-Params/methods.t ........................... ok 1 ok 2 ok 3 ok 4 ok 5 - clean operation ok 6 - exception calling new() with no args ok 7 - exception calling ->new() with no args ok 8 - exception calling set() with no args 1..8 ok t/20-unit/Type-Params/mixednamed.t ........................ ok 1 ok 2 ok 3 1..3 ok t/20-unit/Type-Params/multisig.t .......................... ok 1 - first choice in multi, no coercion, should pass ok 2 - first choice in multi, coercion, should pass ok 3 - first choice in multi, should fail ok 4 - second choice in multi, no coercion, should pass ok 5 - second choice in multi, coercion, should pass ok 6 - second choice in multi, should fail ok 7 - third choice in multi, no coercion, should pass ok 8 - third choice in multi, should fail ok 9 ok 10 ok 11 ok 12 1..12 ok t/20-unit/Type-Params/named.t ............................. ok 1 ok 2 ok 3 ok 4 ok 5 1..5 ok t/20-unit/Type-Params/noninline.t ......................... ok 1 - (1, 2) ok 2 - (1.1, 2) ok 3 - () ok 4 - (1) ok 5 - (undef, 1) ok 6 - (42) ok 7 - (42, 11) ok 8 - ([1..3], 11) ok 9 - ([1..41], 42) 1..9 ok t/20-unit/Type-Params/optional.t .......................... ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 1..9 ok t/20-unit/Type-Params/positional.t ........................ ok 1 - (1, 2) ok 2 - (1.1, 2) ok 3 - (1) ok 4 - (1) ok 5 - (undef, 1) ok 6 - (1) 1..6 ok t/20-unit/Type-Params/slurpy.t ............................ ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 1..6 ok t/20-unit/Type-Parser/basic.t ............................. # Basics ok 1 - Int eq Int ok 2 - (Int) eq Int - redundant parentheses ok 3 - ((((Int)))) eq Int - many redundant parentheses # Class types ok 4 - DateTime:: eq InstanceOf["DateTime"] ok 5 - InstanceOf['DateTime'] eq InstanceOf["DateTime"] ok 6 - Tied[Foo::] eq Tied["Foo"] ok 7 - Tied['Foo'] eq Tied["Foo"] # Parameterization ok 8 - Int[] eq Int - empty parameterization against non-parameterizable type ok 9 - Tuple[] eq Tuple[] - empty parameterization against parameterizble type ok 10 - ArrayRef[] eq ArrayRef - empty parameterization against parameterizable type ok 11 - ArrayRef[Int] eq ArrayRef[Int] - parameterized type ok 12 - Ref['HASH'] eq Ref[HASH] - string parameter (singles) ok 13 - Ref["HASH"] eq Ref[HASH] - string parameter (doubles) ok 14 - Ref[q(HASH)] eq Ref[HASH] - string parameter (q) ok 15 - Ref[qq(HASH)] eq Ref[HASH] - string parameter (qq) ok 16 - StrMatch[qr{foo}] eq StrMatch[(?^:foo)] - regexp parameter # Unions ok 17 - Int|HashRef eq Int|HashRef ok 18 - Int|HashRef|ArrayRef eq Int|HashRef|ArrayRef ok 19 - ArrayRef[Int|HashRef] eq ArrayRef[Int|HashRef] - union as a parameter ok 20 - ArrayRef[Int|HashRef[Int]] eq ArrayRef[Int|HashRef[Int]] ok 21 - ArrayRef[HashRef[Int]|Int] eq ArrayRef[HashRef[Int]|Int] # Intersections ok 22 - Int&Num eq Int&Num ok 23 - Int&Num&Defined eq Int&Num&Defined ok 24 - ArrayRef[Int]&Defined eq ArrayRef[Int]&Defined # Union + Intersection ok 25 - Int&Num|ArrayRef eq Int&Num|ArrayRef ok 26 - (Int&Num)|ArrayRef eq Int&Num|ArrayRef ok 27 - Int&(Num|ArrayRef) eq Int&Num|ArrayRef ok 28 - Int&Num|ArrayRef&Ref eq Int&Num|ArrayRef&Ref # Complementary types ok 29 - ~Int eq ~Int ok 30 - ~ArrayRef[Int] eq ~ArrayRef[Int] ok 31 - ~Int|CodeRef eq ~Int|CodeRef ok 32 - ~(Int|CodeRef) eq ~Int|CodeRef - precedence of "~" versus "|" # Comma ok 33 - Map[Num,Int] eq Map[Num,Int] ok 34 - Map[Int,Num] eq Map[Int,Num] ok 35 - Map[Int,Int|ArrayRef[Int]] eq Map[Int,Int|ArrayRef[Int]] ok 36 - Map[Int,ArrayRef[Int]|Int] eq Map[Int,ArrayRef[Int]|Int] ok 37 - Dict[foo=>Int,bar=>Num] eq Dict[bar=>Num,foo=>Int] ok 38 - Dict['foo'=>Int,'bar'=>Num] eq Dict[bar=>Num,foo=>Int] ok 39 - Dict['foo',Int,'bar',Num] eq Dict[bar=>Num,foo=>Int] # Slurpy ok 40 - Dict[slurpy=>Int,bar=>Num] eq Dict[bar=>Num,slurpy=>Int] ok 41 - Tuple[Str, Int, slurpy ArrayRef[Int]] eq Tuple[Str,Int,slurpy ArrayRef[Int]] ok 42 - Tuple[Str, Int, slurpy(ArrayRef[Int])] eq Tuple[Str,Int,slurpy ArrayRef[Int]] # Complexity ok 43 - ArrayRef[DateTime::]|HashRef[Int|DateTime::]|CodeRef eq ArrayRef[InstanceOf["DateTime"]]|HashRef[Int|InstanceOf["DateTime"]]|CodeRef ok 44 - ArrayRef [DateTime::] |HashRef[ Int| DateTime::]|CodeRef eq ArrayRef[InstanceOf["DateTime"]]|HashRef[Int|InstanceOf["DateTime"]]|CodeRef - gratuitous whitespace # Bad expressions ok 45 - weird token ok 46 - weird stuff 1 ok 47 - weird stuff 2 # Tail retention ok 48 - remainder is ok ok 49 - comma can indicate beginning of remainder ok 50 - ArrayRef[Int] eq ArrayRef[Int] - extract_type works ok 51 - ... and provides proper remainder too # Parsing edge cases ok 52 - Xyzzy[Foo] - parameter is treated as a type constraint ok 53 - Xyzzy["Foo"] - parameter is treated as a string ok 54 - Xyzzy[-100] - parameter is treated as a string ok 55 - Xyzzy[200] - parameter is treated as a string ok 56 - Xyzzy[+20.0] - parameter is treated as a string 1..56 ok MooseX::Types::Common::Numeric::PositiveInt is not a known type constraint at lib/Type/Parser.pm line 139. t/20-unit/Type-Parser/moosextypes.t ....................... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/20-unit/Type-Registry/automagic.t ....................... ok 1 - Type::Registry is not automatically loaded ok 2 - Type::Registry was auto-populated 1..2 ok t/20-unit/Type-Registry/basic.t ........................... ok 1 - Type::Registry->for_me works ok 2 - Type::Registry->for_class works ok 3 - cannot add non-existant type library to registry ok 4 - cannot alias non-existant type in registry ok 5 - alias works ok 6 - alias works via simple_lookup ok 7 - alias works via lookup ok 8 - prefix works ok 9 - type registries are separate ok 10 - Reference [1,2,3] passes type constraint ArrayRef[Int] ok 11 - Reference [1,2,"3.14159"] fails type constraint ArrayRef[Int] ok 12 - type constraint invalid syntax ok 13 - type constraint unknown type ok 14 - type constraint unknown type (as method call) ok 15 - class type ok 16 - Value "Monkey" passes type constraint Enum[Monkey,Nuts] ok 17 - Value "Nuts" passes type constraint Enum[Monkey,Nuts] ok 18 - Value "Cashews" fails type constraint Enum[Monkey,Nuts] ok 19 - DWIM - class type ok 20 - DWIM - role type ok 21 - DWIM - complex type 1..21 ok t/20-unit/Type-Registry/methods.t ......................... ok 1 - __ANON__ eq InstanceOf["Foo"] - t->make_class_type ok 2 - __ANON__ eq ConsumerOf["Foo"] - t->make_role_type ok 3 - ArrayRef|Int eq ArrayRef|Int - t->make_union ok 4 - ArrayRef&Int eq ArrayRef&Int - t->make_intersection ok 5 - Value "420" passes type constraint PositiveInt ok 6 - Value "-42" fails type constraint PositiveInt ok 7 - Value "420" passes type constraint PositiveInt ok 8 - Value "-42" fails type constraint PositiveInt ok 9 - Value "420" passes type constraint PositiveInt ok 10 - Value "-42" fails type constraint PositiveInt ok 11 - Value "420" passes type constraint __ANON__ ok 12 - Value "-42" fails type constraint __ANON__ ok 13 - cannot add an anonymous type without giving it an alias 1..13 ok MooseX::Types::Common::String::UpperCaseStr is not a known type constraint at lib/Type/Parser.pm line 139. t/20-unit/Type-Registry/moosextypes.t ..................... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/20-unit/Type-Registry/mousextypes.t ..................... skipped: Test requires module 'MouseX::Types::Common' but it's not found t/20-unit/Type-Tiny-_HalfOp/overload-precedence.t ......... ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 1..7 ok t/20-unit/Type-Tiny-Class/basic.t ......................... ok 1 - 'FooBar' isa 'Type::Tiny' ok 2 - 'FooBar' isa 'Type::Tiny::Class' ok 3 - 'FooBaz' isa 'Type::Tiny' ok 4 - 'FooBaz' isa 'Type::Tiny::Class' ok 5 - 'FooBar->new' isa 'Foo::Bar' ok 6 - 'FooBaz->new' isa 'Foo::Baz' ok 7 - 'FooBar->class->new' isa 'Foo::Bar' ok 8 - 'FooBaz->class->new' isa 'Foo::Baz' ok 9 - Reference bless( {}, 'Foo::Bar' ) passes type constraint FooBar ok 10 - Reference bless( {}, 'Foo::Baz' ) passes type constraint FooBar ok 11 - Reference bless( {}, 'Foo::Bar' ) fails type constraint FooBaz ok 12 - Reference bless( {}, 'Foo::Baz' ) passes type constraint FooBaz ok 13 - Undef fails type constraint FooBar ok 14 - Undef fails type constraint FooBaz ok 15 - Reference {} fails type constraint FooBar ok 16 - Reference {} fails type constraint FooBaz ok 17 - Reference bless( {"_caller_level" => 1,"_overload_coderef" => sub { "D...) fails type constraint FooBar ok 18 - Reference bless( {"_caller_level" => 1,"_overload_coderef" => sub { "D...) fails type constraint FooBaz ok 19 - Reference bless( {"_caller_level" => 1,"_overload_coderef" => sub { "D...) fails type constraint FooBar ok 20 - Reference bless( {"_caller_level" => 1,"_overload_coderef" => sub { "D...) fails type constraint FooBaz ok 21 - Value "Foo::Bar" fails type constraint FooBar ok 22 - Value "Foo::Bar" fails type constraint FooBaz ok 23 - Value "Foo::Baz" fails type constraint FooBar ok 24 - Value "Foo::Baz" fails type constraint FooBaz ok 25 - DWIM Type::Tiny::Class::new 1..25 ok t/20-unit/Type-Tiny-Class/errors.t ........................ ok 1 ok 2 ok 3 ok 4 ok 5 1..5 ok t/20-unit/Type-Tiny-Class/plus-constructors.t ............. skipped: List::Util version 1.45 required--this is only version 1.43 at C:/cpanfly-5.22-32/var/megalib/Moose/Exporter.pm line 9. t/20-unit/Type-Tiny-Duck/basic.t .......................... ok 1 - 'CanFooBar' isa 'Type::Tiny' ok 2 - 'CanFooBar' isa 'Type::Tiny::Duck' ok 3 - Reference bless( {}, 'Foo::Bar' ) passes type constraint CanFooBar ok 4 - Reference bless( {}, 'Foo::Bar' ) fails type constraint CanFooBaz ok 5 - Reference bless( {}, 'Foo::Baz' ) passes type constraint CanFooBar ok 6 - Reference bless( {}, 'Foo::Baz' ) passes type constraint CanFooBaz ok 7 - Undef fails type constraint CanFooBar ok 8 - Reference {} fails type constraint CanFooBar ok 9 - Reference bless( {"_caller_level" => 1,"_overload_coderef" => sub { "D...) fails type constraint CanFooBar ok 10 - Reference bless( {"_caller_level" => 1,"_overload_coderef" => sub { "D...) fails type constraint CanFooBar ok 11 - Reference bless( {"_caller_level" => 1,"_overload_coderef" => sub { "D...) fails type constraint CanFooBar ok 12 - Value "Foo::Bar" fails type constraint CanFooBar 1..12 ok t/20-unit/Type-Tiny-Duck/errors.t ......................... ok 1 ok 2 ok 3 ok 4 ok 5 1..5 ok t/20-unit/Type-Tiny-Enum/basic.t .......................... ok 1 - 'FBB' isa 'Type::Tiny' ok 2 - 'FBB' isa 'Type::Tiny::Enum' ok 3 - Value "foo" passes type constraint Enum[bar,baz,foo] ok 4 - Value "bar" passes type constraint Enum[bar,baz,foo] ok 5 - Value "baz" passes type constraint Enum[bar,baz,foo] ok 6 - Value "quux" fails type constraint Enum[bar,baz,foo] ok 7 - Value " foo" fails type constraint Enum[bar,baz,foo] ok 8 - Value "foo\n" fails type constraint Enum[bar,baz,foo] ok 9 - Value "\nfoo" fails type constraint Enum[bar,baz,foo] ok 10 - Value "\nfoo\n" fails type constraint Enum[bar,baz,foo] ok 11 - Value "foo|" fails type constraint Enum[bar,baz,foo] ok 12 - Value "|foo" fails type constraint Enum[bar,baz,foo] ok 13 - Undef fails type constraint Enum[bar,baz,foo] ok 14 - Reference {} fails type constraint Enum[bar,baz,foo] ok 15 - Reference \"foo" fails type constraint Enum[bar,baz,foo] ok 16 - Reference \"bar" fails type constraint Enum[bar,baz,foo] ok 17 - Reference \"baz" fails type constraint Enum[bar,baz,foo] ok 18 - FBB->values works 1..18 ok t/20-unit/Type-Tiny-Enum/errors.t ......................... ok 1 ok 2 ok 3 ok 4 ok 5 1..5 ok t/20-unit/Type-Tiny-Intersection/basic.t .................. ok 1 - 'FooBarAndDoesQuux' isa 'Type::Tiny::Intersection' ok 2 - 'FooBarAndDoesQuux->[0]' isa 'Type::Tiny::Class' ok 3 - 'FooBarAndDoesQuux->[1]' isa 'Type::Tiny::Role' ok 4 - stringification good ok 5 - Reference bless( {}, 'Foo::Bar' ) fails type constraint FooBar&DoesQuux ok 6 - Reference bless( {}, 'Foo::Baz' ) passes type constraint FooBar&DoesQuux ok 7 - Reference bless( [], 'Something' ) fails type constraint FooBar&DoesQuux ok 8 - Reference bless( [], 'Something::Else' ) fails type constraint FooBar&DoesQuux ok 9 - Value "Foo::Bar" fails type constraint FooBar&DoesQuux ok 10 - Value "Foo::Baz" fails type constraint FooBar&DoesQuux ok 11 - intersections don't get unnecessarily deep # ((Scalar::Util::blessed($X) and $X->isa(q[Foo::Bar])) and do { Scalar::Util::blessed($X) and do { my $method = $X->can('DOES')||$X->can('isa'); $X->$method(q[Quux]) } } and (ref($X) and Scalar::Util::reftype($X) eq q(ARRAY))) ok 12 - Reference bless( [], 'Foo::Baz' ) passes type constraint FooBar&DoesQuux&Ref[ARRAY] ok 13 - Reference bless( {}, 'Foo::Baz' ) fails type constraint FooBar&DoesQuux&Ref[ARRAY] ok 14 - An object of class 'Type::Tiny::Intersection' isa 'Type::Tiny::Intersection' ok 15 - not (SmallInteger&__ANON__)->can_be_inlined ok 16 - Value "2" passes type constraint SmallInteger&__ANON__ ok 17 - Value "20" fails type constraint SmallInteger&__ANON__ ok 18 - Value "3" fails type constraint SmallInteger&__ANON__ 1..18 ok t/20-unit/Type-Tiny-Intersection/errors.t ................. ok 1 ok 2 ok 3 ok 4 ok 5 1..5 ok t/20-unit/Type-Tiny-Role/basic.t .......................... ok 1 - 'DoesQuux' isa 'Type::Tiny' ok 2 - 'DoesQuux' isa 'Type::Tiny::Role' ok 3 - Reference bless( {}, 'Foo::Bar' ) fails type constraint DoesQuux ok 4 - Reference bless( {}, 'Foo::Baz' ) passes type constraint DoesQuux ok 5 - Undef fails type constraint DoesQuux ok 6 - Reference {} fails type constraint DoesQuux ok 7 - Reference bless( {"_caller_level" => 1,"_overload_coderef" => sub { "D...) fails type constraint DoesQuux ok 8 - Reference bless( {"_caller_level" => 1,"_overload_coderef" => sub { "D...) fails type constraint DoesQuux ok 9 - Reference bless( {"_caller_level" => 1,"_overload_coderef" => sub { "D...) fails type constraint DoesQuux ok 10 - Value "Quux" fails type constraint DoesQuux 1..10 ok t/20-unit/Type-Tiny-Role/errors.t ......................... ok 1 ok 2 ok 3 ok 4 ok 5 1..5 ok t/20-unit/Type-Tiny-Union/basic.t ......................... ok 1 - 'FooBarOrDoesQuux' isa 'Type::Tiny::Union' ok 2 - 'FooBarOrDoesQuux->[0]' isa 'Type::Tiny::Class' ok 3 - 'FooBarOrDoesQuux->[1]' isa 'Type::Tiny::Role' ok 4 - stringification good ok 5 - Reference bless( {}, 'Foo::Bar' ) passes type constraint FooBar|DoesQuux ok 6 - Reference bless( {}, 'Foo::Baz' ) passes type constraint FooBar|DoesQuux ok 7 - Reference bless( [], 'Something' ) passes type constraint FooBar|DoesQuux ok 8 - Reference bless( [], 'Something::Else' ) fails type constraint FooBar|DoesQuux ok 9 - Value "Foo::Bar" fails type constraint FooBar|DoesQuux ok 10 - Value "Foo::Baz" fails type constraint FooBar|DoesQuux ok 11 - unions don't get unnecessarily deep ok 12 - can climb up parents of union type constraints to find best common ancestor ok 13 - can climb up parents of union type constraints to find best common ancestor (again) ok 14 - Union find_type_for ok 15 - Union find_type_for (less obvious) ok 16 - Union find_type_for (ambiguous) ok 17 - Union find_type_for (none) 1..17 ok t/20-unit/Type-Tiny-Union/errors.t ........................ ok 1 ok 2 ok 3 ok 4 ok 5 1..5 ok t/20-unit/Type-Tiny/arithmetic.t .......................... ok 1 - Reference \123 fails type constraint ~ScalarRef ok 2 - Reference [] fails type constraint ~ArrayRef ok 3 - Reference {} fails type constraint ~HashRef ok 4 - Reference sub { "DUMMY" } fails type constraint ~CodeRef ok 5 - Reference \*::STDOUT fails type constraint ~GlobRef ok 6 - Reference \\"Hello" fails type constraint ~Ref ok 7 - Reference \*::STDOUT fails type constraint ~FileHandle ok 8 - Reference qr/x/ fails type constraint ~RegexpRef ok 9 - Value "1" fails type constraint ~Str ok 10 - Value "1" fails type constraint ~Num ok 11 - Value "1" fails type constraint ~Int ok 12 - Value "1" fails type constraint ~Defined ok 13 - Value "1" fails type constraint ~Value ok 14 - Undef fails type constraint ~Undef ok 15 - Undef fails type constraint ~Item ok 16 - Undef fails type constraint ~Any ok 17 - Value "Type::Tiny" fails type constraint ~ClassName ok 18 - Value "Type::Library" fails type constraint ~RoleName ok 19 - Undef fails type constraint ~Bool ok 20 - Value "" fails type constraint ~Bool ok 21 - Value "0" fails type constraint ~Bool ok 22 - Value "1" fails type constraint ~Bool ok 23 - Value "7" passes type constraint ~Bool ok 24 - Reference \\"Hello" fails type constraint ~ScalarRef ok 25 - Value "Type::Tiny" passes type constraint ~RoleName ok 26 - Reference [] passes type constraint ~Str ok 27 - Reference [] passes type constraint ~Num ok 28 - Reference [] passes type constraint ~Int ok 29 - Value "4x4" fails type constraint ~Str ok 30 - Value "4x4" passes type constraint ~Num ok 31 - Value "4.2" passes type constraint ~Int ok 32 - Undef passes type constraint ~Str ok 33 - Undef passes type constraint ~Num ok 34 - Undef passes type constraint ~Int ok 35 - Undef passes type constraint ~Defined ok 36 - Undef passes type constraint ~Value ok 37 - Undef passes type constraint ~ClassName ok 38 - Reference [] passes type constraint ~ClassName ok 39 - Value "Local::Class2" fails type constraint ~ClassName ok 40 - Value "Local::Class3" fails type constraint ~ClassName ok 41 - Value "Local::Class4" fails type constraint ~ClassName ok 42 - Value "Local::Dummy1" passes type constraint ~ClassName ok 43 - Reference [] fails type constraint ~ArrayRef[Int] ok 44 - Reference [1,2,3] fails type constraint ~ArrayRef[Int] ok 45 - Reference ["1.1",2,3] passes type constraint ~ArrayRef[Int] ok 46 - Reference [1,2,"3.1"] passes type constraint ~ArrayRef[Int] ok 47 - Reference [[]] passes type constraint ~ArrayRef[Int] ok 48 - Reference [[3]] fails type constraint ~ArrayRef[ArrayRef[Int]] ok 49 - Reference [["A"]] passes type constraint ~ArrayRef[ArrayRef[Int]] ok 50 - Undef fails type constraint ~Maybe[Int] ok 51 - Value "123" fails type constraint ~Maybe[Int] ok 52 - Value "1.3" passes type constraint ~Maybe[Int] ok 53 - Value "-2" passes type constraint Even&Negative ok 54 - Value "-1" passes type constraint Even&Negative ok 55 - Value "0" passes type constraint Even&~Negative&~Positive ok 56 - Value "1" passes type constraint Even&Positive ok 57 - Value "2" passes type constraint Even&Positive ok 58 - Value "3" passes type constraint Even|Even ok 59 - Value "4" passes type constraint Even|Even ok 60 - Value "5" passes type constraint Negative|Positive ok 61 - Value "-6" passes type constraint Negative|Positive ok 62 - Value "-3" fails type constraint Even&Negative ok 63 - Value "1" fails type constraint Even&Negative ok 64 - Value "1" fails type constraint Even&~Negative&~Positive ok 65 - Value "2" fails type constraint Even&Positive ok 66 - Value "1" fails type constraint Even&Positive ok 67 - Value "Str" fails type constraint Even|Even ok 68 - Value "1.1" fails type constraint Even|Even ok 69 - Value "0" fails type constraint Negative|Positive ok 70 - Value "Str" fails type constraint Negative|Positive ok 71 - coolio stringification ok 72 - Item > Value ok 73 - Value > Str ok 74 - Str > Num ok 75 - Num > Int ok 76 - Int > $odd ok 77 - Item >= Value ok 78 - Value >= Str ok 79 - Str >= Num ok 80 - Num >= Int ok 81 - Int >= $odd ok 82 - Value < Item ok 83 - Str < Value ok 84 - Num < Str ok 85 - Int < Num ok 86 - $even < Int ok 87 - Value <= Item ok 88 - Str <= Value ok 89 - Num <= Str ok 90 - Int <= Num ok 91 - $even < Int ok 92 - not(Int > Int) ok 93 - not(Int < Int) ok 94 - Int <= Int ok 95 - Int >= Int ok 96 - not(ArrayRef[Int] > ArrayRef[Num]) ok 97 - not(ArrayRef[Int] == ArrayRef[Num]) ok 98 - ArrayRef[Int] == ArrayRef[Int] ok 99 - not(ArrayRef == ArrayRef[Int]) ok 100 - ArrayRef > ArrayRef[Int] 1..100 ok t/20-unit/Type-Tiny/basic.t ............................... ok 1 - Any is not anon ok 2 - Any is called Any ok 3 - Any can be inlined ok 4 - Value "1" passes type constraint Any ok 5 - Value "1.2" passes type constraint Any ok 6 - Value "Hello World" passes type constraint Any ok 7 - Reference [] passes type constraint Any ok 8 - Reference {} passes type constraint Any ok 9 - Undef passes type constraint Any ok 10 - Reference \*::STDOUT passes type constraint Any ok 11 - bad type constraint name ok 12 - $Int is anon ok 13 - $Int is called __ANON__ ok 14 - $Int cannot be inlined ok 15 - Value "1" passes type constraint __ANON__ ok 16 - Value "-1" passes type constraint __ANON__ ok 17 - Value "0" passes type constraint __ANON__ ok 18 - Value "100" passes type constraint __ANON__ ok 19 - Value "10000" passes type constraint __ANON__ ok 20 - Value "987654" passes type constraint __ANON__ ok 21 - Value "1.2" fails type constraint __ANON__ ok 22 - Value "Hello World" fails type constraint __ANON__ ok 23 - Reference [] fails type constraint __ANON__ ok 24 - Reference {} fails type constraint __ANON__ ok 25 - Undef fails type constraint __ANON__ ok 26 - Reference \*::STDOUT fails type constraint __ANON__ ok 27 - Any subtype: __ANON__ ok 28 - Any is_supertype_of $Int ok 29 - $Int is_a_type_of Any ok 30 - $Int is_a_type_of $Int ok 31 - not $Int is_subtype_of $Int ok 32 - Below is_parameterizable ok 33 - not Below is_parameterized ok 34 - Value "1" passes type constraint Below ok 35 - Value "-1" passes type constraint Below ok 36 - Value "0" passes type constraint Below ok 37 - Value "100" passes type constraint Below ok 38 - Value "10000" passes type constraint Below ok 39 - Value "987654" passes type constraint Below ok 40 - Value "1.2" fails type constraint Below ok 41 - Value "Hello World" fails type constraint Below ok 42 - Reference [] fails type constraint Below ok 43 - Reference {} fails type constraint Below ok 44 - Undef fails type constraint Below ok 45 - Reference \*::STDOUT fails type constraint Below ok 46 - $Below5 is anon ok 47 - ... but still has a nice display name ok 48 - Value "1" passes type constraint Below[5] ok 49 - Value "-1" passes type constraint Below[5] ok 50 - Value "0" passes type constraint Below[5] ok 51 - Value "1.2" fails type constraint Below[5] ok 52 - Value "Hello World" fails type constraint Below[5] ok 53 - Reference [] fails type constraint Below[5] ok 54 - Reference {} fails type constraint Below[5] ok 55 - Undef fails type constraint Below[5] ok 56 - Reference \*::STDOUT fails type constraint Below[5] ok 57 - Value "100" fails type constraint Below[5] ok 58 - Value "10000" fails type constraint Below[5] ok 59 - Value "987654" fails type constraint Below[5] ok 60 - Any subtype: Below[5] ok 61 - __ANON__ subtype: Below[5] ok 62 - Below subtype: Below[5] ok 63 - Below[5] is_parameterized ok 64 - has_parameters method works - negative ok 65 - has_parameters method works - positive ok 66 - parameters method works ok 67 - inlining stuff can return a list ok 68 - loose subtype comparison 1 ok 69 - strict subtype comparison 1 ok 70 - loose supertype comparison 1 ok 71 - strict supertype comparison 1 ok 72 - loose subtype comparison 2 ok 73 - strict subtype comparison 2 ok 74 - loose supertype comparison 2 ok 75 - strict supertype comparison 2 ok 76 - find_parent (scalar context) ok 77 - find_parent (list context) ok 78 - ... includes a count ok 79 - find_parent (null result) ok 80 - ... includes an undef count 1..80 ok t/20-unit/Type-Tiny/coercion-modifiers.t .................. ok 1 - has_coercian_for_type - obvious ok 2 - has_coercian_for_type - subtle ok 3 - has_coercian_for_type - negative ok 4 - plus_coercions - added coercion ok 5 - plus_coercions - added coercion ok 6 - plus_coercions - retained coercion ok 7 - plus_coercions - retained coercion ok 8 - minus_coercions - retained coercion ok 9 - minus_coercions - removed coercion ok 10 - minus_coercions - retained coercion ok 11 - minus_coercions - removed coercion ok 12 - no_coercions - removed coercion ok 13 - no_coercions - removed coercion ok 14 - no_coercions - removed coercion ok 15 - no_coercions - removed coercion 1..15 ok t/20-unit/Type-Tiny/esoteric.t ............................ ok 1 - $type->inline_environment ok 2 - $type->_inline_check ok 3 - $type->_compiled_type_constraint ok 4 - $type->meta ok 5 - $type->compile_type_constraint ok 6 - $type->_actually_compile_type_constraint ok 7 - $type->hand_optimized_type_constraint ok 8 - $type->has_hand_optimized_type_constraint ok 9 - $type->__is_parameterized ok 10 - $type->_add_type_coercions ok 11 - $type->_as_string ok 12 - $type->_compiled_type_coercion ok 13 - $type->_identity ok 14 - $type->_unite 1..14 ok t/20-unit/Type-Tiny/my-methods.t .......................... ok 1 - Type::Tiny->can('my_round_off') ok 2 - Type::Tiny->can('my_round_off') ok 3 - Number my_round_off works ok 4 - Number2 my_round_off works ok 5 - Number cannot my_smirnoff ok 6 - Number2 cannot my_smirnoff 1..6 ok t/20-unit/Type-Tiny/parameterization.t .................... ok 1 - Avoid duplicating parameterized types ok 2 - ... except when necessary! ok 3 - Reference ["Bob"] passes type constraint ArrayRef[__ANON__] ok 4 - Reference ["Bob","Bob"] passes type constraint ArrayRef[__ANON__] ok 5 - Reference ["Bob","Bob","Suzie"] fails type constraint ArrayRef[__ANON__] ok 6 - Reference ["Bob"] passes type constraint ArrayRef[__ANON__] ok 7 - Reference ["Bob","Bob"] passes type constraint ArrayRef[__ANON__] ok 8 - Reference ["Bob","Bob","Suzie"] fails type constraint ArrayRef[__ANON__] ok 9 - Reference ["Bob"] passes type constraint ArrayRef[Str&__ANON__] ok 10 - Reference ["Bob","Bob"] passes type constraint ArrayRef[Str&__ANON__] ok 11 - Reference ["Bob","Bob","Suzie"] fails type constraint ArrayRef[Str&__ANON__] ok 12 - error message when a coderef returns false ok 13 - error message when a coderef dies 1..13 ok t/20-unit/Type-Tiny/shortcuts.t ........................... ok 1 - ->of method works same as ->parameterize ok 2 - Reference ["Bob","Alice"] passes type constraint __ANON__ ok 3 - Reference ["Alice","Bob"] fails type constraint __ANON__ 1..3 ok t/20-unit/Type-Tiny/smartmatch.t .......................... ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 - int not ok 7 - regexpref # TODO this would be nice, but probably requires changes to perl # Failed (TODO) test 'regexpref' # at t/20-unit/Type-Tiny/smartmatch.t line 54. 1..7 ok t/20-unit/Type-Tiny/syntax.t .............................. ok 1 - $type1==$type2 ok 2 - $type1==$type3 ok 3 - $type2==$type3 1..3 ok t/20-unit/Type-Tiny/to-moose.t ............................ skipped: List::Util version 1.45 required--this is only version 1.43 at C:/cpanfly-5.22-32/var/megalib/Moose/Exporter.pm line 9. t/20-unit/Type-Tiny/to-mouse.t ............................ ok 1 - '$mAny' isa 'Mouse::Meta::TypeConstraint' ok 2 - '$mInt' isa 'Mouse::Meta::TypeConstraint' ok 3 - type constraint inheritance seems right ok 4 - Value "42" passes type constraint __ANON__ ok 5 - Reference [] passes type constraint __ANON__ ok 6 - Value "42" passes type constraint __ANON__ ok 7 - Reference [] fails type constraint __ANON__ 1..7 ok t/20-unit/Type-Utils/classifier.t ......................... ok 1 - Value "42" classified as Int ok 2 - Value "1.1" classified as Num ok 3 - Value "Hello world" classified as Str ok 4 - Value "42" classified as Int ok 5 - Value "1.1" classified as Num ok 6 - Reference \undef classified as Ref ok 7 - Reference [] classified as ArrayRef ok 8 - Reference {} classified as HashRef ok 9 - Undef classified as Any ok 10 - Reference bless( {"_overload_coderef" => sub { "DUMMY" },"coercion" =>...) classified as InstanceOf["Type::Tiny"] 1..10 ok t/20-unit/Type-Utils/dwim-both.t .......................... skipped: List::Util version 1.45 required--this is only version 1.43 at C:/cpanfly-5.22-32/var/megalib/Moose/Exporter.pm line 9. t/20-unit/Type-Utils/dwim-moose.t ......................... skipped: List::Util version 1.45 required--this is only version 1.43 at C:/cpanfly-5.22-32/var/megalib/Moose/Exporter.pm line 9. t/20-unit/Type-Utils/dwim-mouse.t ......................... ok 1 - '$two' isa 'Type::Tiny' ok 2 - '$twos' isa 'Type::Tiny' ok 3 - Value "2" passes type constraint Two ok 4 - Value "3" fails type constraint Two ok 5 - Reference [2,2,2] passes type constraint ArrayRef[Two] ok 6 - Reference [2,3,2] fails type constraint ArrayRef[Two] ok 7 - '$three' isa 'Type::Tiny' ok 8 - '$threes' isa 'Type::Tiny' ok 9 - Value "3" passes type constraint MyTypes::Three ok 10 - Value "4" fails type constraint MyTypes::Three ok 11 - Reference [3,3,3] passes type constraint ArrayRef[MyTypes::Three] ok 12 - Reference [3,4,3] fails type constraint ArrayRef[MyTypes::Three] ok 13 - Reference bless( {}, 'Local::Some::Class' ) passes type constraint __ANON__ ok 14 - Reference bless( {}, 'main' ) fails type constraint __ANON__ ok 15 - Reference [bless( {}, 'Local::Some::Class' )] passes type constraint ArrayRef[__ANON__] ok 16 - Reference [] passes type constraint ArrayRef[__ANON__] ok 17 - Reference [bless( {}, 'main' )] fails type constraint ArrayRef[__ANON__] ok 18 - Reference bless( {}, 'Local::Some::Class' ) passes type constraint __ANON__ ok 19 - Reference bless( {}, 'main' ) fails type constraint __ANON__ ok 20 - Reference [bless( {}, 'Local::Some::Class' )] passes type constraint ArrayRef[__ANON__] ok 21 - Reference [] passes type constraint ArrayRef[__ANON__] ok 22 - Reference [bless( {}, 'main' )] fails type constraint ArrayRef[__ANON__] 1..22 ok t/20-unit/Type-Utils/match-on-type.t ...................... ok 1 - to_json using compile_match_on_type works ok 2 - to_json_2 using match_on_type works ok 3 - compile_match_on_type returns a coderef ok 4 - ... correct result ok 5 - ... correct result ok 6 - ... correct exception ok 7 - match_on_type with no match ok 8 - coderef compiled by compile_match_on_type with no match ok 9 - match_on_type void context ok 10 - match_on_type scalar context ok 11 - match_on_type list context ok 12 - compile_match_on_type void context ok 13 - compile_match_on_type scalar context ok 14 - compile_match_on_type list context 1..14 ok t/20-unit/Type-Utils/warnings.t ........................... ok 1 - warning for missing comma 1..1 ok t/20-unit/Types-Common-Numeric/basic.t .................... ok 1 - SingleDigit 100 ok 2 - SingleDigit 10 ok 3 - SingleDigit 9 ok 4 - SingleDigit 1 ok 5 - SingleDigit 0 ok 6 - SingleDigit -1 ok 7 - SingleDigit -9 ok 8 - SingleDigit -10 ok 9 - PositiveInt (-100) ok 10 - PositiveInt (0) ok 11 - PositiveInt (100.885) ok 12 - PositiveInt (100) ok 13 - PositiveNum (0) ok 14 - PositiveNum (100.885) ok 15 - PositiveNum (-100.885) ok 16 - PositiveNum (0.0000000001) ok 17 - PositiveOrZeroInt (-100) ok 18 - PositiveOrZeroInt (0) ok 19 - PositiveOrZeroInt (100.885) ok 20 - PositiveOrZeroInt (100) ok 21 - PositiveOrZeroNum (0) ok 22 - PositiveOrZeroNum (100.885) ok 23 - PositiveOrZeroNum (-100.885) ok 24 - PositiveOrZeroNum (0.0000000001) ok 25 - NegativeInt (100) ok 26 - NegativeInt (-100.885) ok 27 - NegativeInt (-100) ok 28 - NegativeInt (0) ok 29 - NegativeNum (-100.885) ok 30 - NegativeNum (100.885) ok 31 - NegativeNum (0) ok 32 - NegativeNum (-0.0000000001) ok 33 - NegativeOrZeroInt (100) ok 34 - NegativeOrZeroInt (-100.885) ok 35 - NegativeOrZeroInt (-100) ok 36 - NegativeOrZeroInt (0) ok 37 - NegativeOrZeroNum (-100.885) ok 38 - NegativeOrZeroNum (100.885) ok 39 - NegativeOrZeroNum (0) ok 40 - NegativeOrZeroNum (-0.0000000001) 1..40 ok t/20-unit/Types-Common-String/basic.t ..................... ok 1 - SimpleStr ok 2 - SimpleStr 2 ok 3 - SimpleStr 3 ok 4 - SimpleStr 4 ok 5 - NonEmptyStr ok 6 - NonEmptyStr 2 ok 7 - NonEmptyStr 3 ok 8 - NonEmptyStr 4 ok 9 - NonEmptySimplrStr ok 10 - NonEmptyStr 2 ok 11 - Password ok 12 - Password 2 ok 13 - StrongPassword ok 14 - StrongPassword 2 ok 15 - LowerCaseSimpleStr ok 16 - LowerCaseSimpleStr 2 ok 17 - LowerCaseSimpleStr 3 ok 18 - LowerCaseSimpleStr 4 ok 19 - UpperCaseSimpleStr ok 20 - UpperCaseSimpleStr 2 ok 21 - UpperCaseSimpleStr 3 ok 22 - UpperCaseSimpleStr 4 ok 23 - LowerCaseStr ok 24 - LowerCaseStr 2 ok 25 - LowerCaseStr 3 ok 26 - LowerCaseStr 4 ok 27 - UpperCaseStr ok 28 - UpperCaseStr 2 ok 29 - UpperCaseStr 3 ok 30 - UpperCaseStr 4 ok 31 - NumericCode lives ok 32 - NumericCode dies ok 33 - mixed NumericCode dies 1..33 ok t/20-unit/Types-Common-String/coerce.t .................... ok 1 - uppercase str ok 2 - lowercase str ok 3 - uppercase str ok 4 - lowercase str ok 5 - numeric code 1..5 ok t/20-unit/Types-Common-String/unicode.t ................... ok 1 - CAFÉ is uppercase ok 2 - CAFé is not (entirely) uppercase ok 3 - ----- not entirely uppercase ok 4 - ----- not entirely lowercase ok 5 - café is lowercase ok 6 - cafÉ is not (entirely) lowercase ok 7 - CAFÉ is uppercase ok 8 - CAFé is not (entirely) uppercase ok 9 - café is lowercase ok 10 - cafÉ is not (entirely) lowercase 1..10 ok t/20-unit/Types-Standard/basic.t .......................... ok 1 - ->library method ok 2 - Reference \123 passes type constraint ScalarRef ok 3 - Reference [] passes type constraint ArrayRef ok 4 - Reference {} passes type constraint HashRef ok 5 - Reference sub { "DUMMY" } passes type constraint CodeRef ok 6 - Reference \*::STDOUT passes type constraint GlobRef ok 7 - Reference \\"Hello" passes type constraint Ref ok 8 - Reference \*::STDOUT passes type constraint FileHandle ok 9 - Reference qr/x/ passes type constraint RegexpRef ok 10 - Value "1" passes type constraint Str ok 11 - Value "1" passes type constraint Num ok 12 - Value "1" passes type constraint Int ok 13 - Value "1" passes type constraint Defined ok 14 - Value "1" passes type constraint Value ok 15 - Undef passes type constraint Undef ok 16 - Undef passes type constraint Item ok 17 - Undef passes type constraint Any ok 18 - Value "Type::Tiny" passes type constraint ClassName ok 19 - Value "Type::Library" passes type constraint RoleName ok 20 - Undef passes type constraint Bool ok 21 - Value "" passes type constraint Bool ok 22 - Value "0" passes type constraint Bool ok 23 - Value "1" passes type constraint Bool ok 24 - Value "7" fails type constraint Bool ok 25 - Reference \\"Hello" passes type constraint ScalarRef ok 26 - Value "Type::Tiny" fails type constraint RoleName ok 27 - Reference [] fails type constraint Str ok 28 - Reference [] fails type constraint Num ok 29 - Reference [] fails type constraint Int ok 30 - Value "4x4" passes type constraint Str ok 31 - Value "4x4" fails type constraint Num ok 32 - Value "4.2" fails type constraint Int ok 33 - Undef fails type constraint Str ok 34 - Undef fails type constraint Num ok 35 - Undef fails type constraint Int ok 36 - Undef fails type constraint Defined ok 37 - Undef fails type constraint Value ok 38 - Undef fails type constraint ClassName ok 39 - Reference [] fails type constraint ClassName ok 40 - Value "Local::Class2" passes type constraint ClassName ok 41 - Value "Local::Class3" passes type constraint ClassName ok 42 - Value "Local::Class4" passes type constraint ClassName ok 43 - Value "Local::Dummy1" fails type constraint ClassName ok 44 - Reference [] passes type constraint ArrayRef[Int] ok 45 - Reference [1,2,3] passes type constraint ArrayRef[Int] ok 46 - Reference ["1.1",2,3] fails type constraint ArrayRef[Int] ok 47 - Reference [1,2,"3.1"] fails type constraint ArrayRef[Int] ok 48 - Reference [[]] fails type constraint ArrayRef[Int] ok 49 - Reference [[3]] passes type constraint ArrayRef[ArrayRef[Int]] ok 50 - Reference [["A"]] fails type constraint ArrayRef[ArrayRef[Int]] ok 51 - ArrayRef[HashRef[ArrayRef[HashRef[Int]]]] can be inlined ok 52 - Reference [{"foo1" => 'ARRAY(0x29347e4)'},{"foo2" => 'ARRAY(0x29cc2cc)'}] passes type constraint ArrayRef[HashRef[ArrayRef[HashRef[Int]]]] ok 53 - Reference [{"foo1" => 'ARRAY(0x29c90a4)'},{"foo2" => 'ARRAY(0x29cbffc)'}] passes type constraint ArrayRef[HashRef[ArrayRef[HashRef[Int]]]] ok 54 - Reference [{"foo1" => 'ARRAY(0x29c8bac)'},{"foo2" => 'ARRAY(0x29cb3b4)'}] fails type constraint ArrayRef[HashRef[ArrayRef[HashRef[Int]]]] ok 55 - Undef passes type constraint Maybe[Int] ok 56 - Value "123" passes type constraint Maybe[Int] ok 57 - Value "1.3" fails type constraint Maybe[Int] ok 58 - Reference \"Hello" passes type constraint ScalarRef[Str] ok 59 - Reference \"1.1" passes type constraint ScalarRef[Str] ok 60 - Reference \1 passes type constraint ScalarRef[Str] ok 61 - Reference \"Hello" fails type constraint ScalarRef[Num] ok 62 - Reference \"1.1" passes type constraint ScalarRef[Num] ok 63 - Reference \1 passes type constraint ScalarRef[Num] ok 64 - Reference \"Hello" fails type constraint ScalarRef[Int] ok 65 - Reference \"1.1" fails type constraint ScalarRef[Int] ok 66 - Reference \1 passes type constraint ScalarRef[Int] ok 67 - Reference bless( [], 'Local::Class4' ) passes type constraint Ref[ARRAY] ok 68 - Reference bless( {}, 'Local::Class4' ) passes type constraint Ref[HASH] ok 69 - Reference [] passes type constraint Ref[ARRAY] ok 70 - Reference {} passes type constraint Ref[HASH] ok 71 - Reference bless( [], 'Local::Class4' ) fails type constraint Ref[HASH] ok 72 - Reference bless( {}, 'Local::Class4' ) fails type constraint Ref[ARRAY] ok 73 - Reference [] fails type constraint Ref[HASH] ok 74 - Reference {} fails type constraint Ref[ARRAY] ok 75 - ArrayRef["Int"] is not a valid type constraint ok 76 - HashRef[[]] is not a valid type constraint ok 77 - ScalarRef[undef] is not a valid type constraint ok 78 - Ref[{}] is not a valid type constraint ok 79 - 'Inf' passes Num unless Types::Standard::STRICTNUM ok 80 - '-Inf' passes Num unless Types::Standard::STRICTNUM ok 81 - 'Nan' passes Num unless Types::Standard::STRICTNUM ok 82 - '0.' passes Num unless Types::Standard::STRICTNUM ok 83 - Any subtype: Item 1..83 ok t/20-unit/Types-Standard/deep-coercions.t ................. ok 1 - $ArrayOfFoo has coercion ok 2 - $ArrayOfFoo does not coerce value that needs no coercion ok 3 - $ArrayOfFoo does coerce value that can be coerced ok 4 - $ArrayOfFoo does not coerce value that cannot be coerced ok 5 - $HashOfFoo has coercion ok 6 - $HashOfFoo does not coerce value that needs no coercion ok 7 - $HashOfFoo does coerce value that can be coerced ok 8 - $HashOfFoo does not coerce value that cannot be coerced ok 9 - $RefOfFoo has coercion ok 10 - $RefOfFoo does not coerce value that needs no coercion ok 11 - $RefOfFoo does coerce value that can be coerced ok 12 - $RefOfFoo does not coerce value that cannot be coerced ok 13 - $MaybeFoo does not coerce undef ok 14 - $MaybeFoo does not coerce integer ok 15 - $MaybeFoo does coerce non-integer number ok 16 - $MaybeFoo cannot coerce non-number ok 17 - $ArrayOfBar has coercion ok 18 - $ArrayOfBar coercion can be inlined ok 19 - $ArrayOfBar does not coerce value that needs no coercion ok 20 - $ArrayOfBar does coerce value that can be coerced ok 21 - $ArrayOfBar does not coerce value that cannot be coerced ok 22 - $HashOfBar has coercion ok 23 - $HashOfBar coercion can be inlined ok 24 - $HashOfBar does not coerce value that needs no coercion ok 25 - $HashOfBar does coerce value that can be coerced ok 26 - $HashOfBar does not coerce value that cannot be coerced ok 27 - $RefOfBar has coercion ok 28 - $RefOfBar coercion can be inlined ok 29 - $RefOfBar does not coerce value that needs no coercion ok 30 - $RefOfBar does coerce value that can be coerced ok 31 - $RefOfBar does not coerce value that cannot be coerced ok 32 - $MaybeBar does not coerce undef ok 33 - $MaybeBar does not coerce integer ok 34 - $MaybeBar does coerce non-integer number ok 35 - $MaybeBar cannot coerce non-number ok 36 - Map[IntFromNum,IntFromStr] has an inlinable coercion ok 37 - Coercions to Map[IntFromNum,IntFromStr] ok 38 - Impossible coercion to Map[IntFromNum,IntFromStr] ok 39 - Unneeded coercion to Map[IntFromNum,IntFromStr] ok 40 - Map[IntFromNum,IntFromArray] has a coercion, but it cannot be inlined ok 41 - Coercions to Map[IntFromNum,IntFromArray] ok 42 - Impossible coercion to Map[IntFromNum,IntFromArray] ok 43 - Unneeded coercion to Map[IntFromNum,IntFromArray] ok 44 - Dict[a=>IntFromStr,b=>IntFromNum,c=>Optional[IntFromNum]] has an inlinable coercion ok 45 - Coercion (A) to Dict[a=>IntFromStr,b=>IntFromNum,c=>Optional[IntFromNum]] ok 46 - Coercion (B) to Dict[a=>IntFromStr,b=>IntFromNum,c=>Optional[IntFromNum]] ok 47 - Coercion (C) to Dict[a=>IntFromStr,b=>IntFromNum,c=>Optional[IntFromNum]] - changed in 0.003_11; the presence of an additional value cancels coercion ok 48 - Coercion to Dict[a=>Int,slurpy Map[Int,Int]] (inlined) ok 49 - Coercion to Dict[a=>Int,slurpy Map[Int,Int]] (non-inlined) ok 50 - Dict[a=>IntFromStr,b=>Optional[Int],c=>Optional[Int]] has a non-inlinable coercion ok 51 - Coercion (A) to Dict[a=>IntFromStr,b=>Optional[Int],c=>Optional[Int]] ok 52 - Coercion (B) to Dict[a=>IntFromStr,b=>Optional[Int],c=>Optional[Int]] ok 53 - Tuple[IntFromNum,Optional[IntFromStr],slurpy ArrayRef[IntFromNum]] has an inlinable coercion ok 54 - Coercion (A) to Tuple[IntFromNum,Optional[IntFromStr],slurpy ArrayRef[IntFromNum]] ok 55 - Coercion (B) to Tuple[IntFromNum,Optional[IntFromStr],slurpy ArrayRef[IntFromNum]] ok 56 - Coercion (A) to Tuple[IntFromNum] ok 57 - Coercion (B) to Tuple[IntFromNum] - changed in 0.003_11; the presence of an additional value cancels coercion ok 58 ok 59 ok 60 - No coercion necessary to Tuple[EvenInt] ok 61 - Coercion to Tuple[EvenInt] ok 62 ok 63 ok 64 - No coercion necessary to Tuple[EvenInt2] ok 65 - Coercion to Tuple[EvenInt2] 1..65 ok t/20-unit/Types-Standard/lockdown.t ....................... ok 1 - Types::Standard core types are frozen ok 2 - Types::Common types are frozen ok 3 - Parameterized types are frozen 1..3 ok t/20-unit/Types-Standard/mxtmlb-alike.t ................... ok 1 - InstanceOf == Object ok 2 - InstanceOf["Foo"] == Foo ok 3 - InstanceOf["Foo","Bar"] == Foo|Bar ok 4 - ConsumerOf == Object ok 5 - ConsumerOf["Foo"] == Foo ok 6 - ConsumerOf["Foo","Bar"] == Foo&Bar ok 7 - HasMethods == Object ok 8 - HasMethods["foo"] == CanFoo ok 9 - HasMethods["foo","bar"] == CanFooBar ok 10 - Enum == Str ok 11 - Enum["foo"] == Enum[foo] ok 12 - Enum["foo","bar"] == Enum[bar,foo] 1..12 ok t/20-unit/Types-Standard/optlist.t ........................ ok 1 - Reference [] passes type constraint OptList ok 2 - Reference [["foo",undef]] passes type constraint OptList ok 3 - Reference [["foo",'ARRAY(0x29456c4)']] passes type constraint OptList ok 4 - Reference [["foo",'HASH(0x70b48c)']] passes type constraint OptList ok 5 - Reference [] passes type constraint OptList ok 6 - Reference [["foo",undef]] passes type constraint OptList ok 7 - Reference [["foo",'ARRAY(0x29464a4)']] passes type constraint OptList ok 8 - Reference [["foo",'HASH(0x70b48c)']] passes type constraint OptList ok 9 - Reference [[undef]] fails type constraint OptList ok 10 - Reference [['ARRAY(0x2946edc)']] fails type constraint OptList ok 11 - Reference [['HASH(0x29464a4)']] fails type constraint OptList ok 12 - Reference [[undef]] fails type constraint OptList ok 13 - Reference [['ARRAY(0x2a3ce1c)']] fails type constraint OptList ok 14 - Reference [['HASH(0x2946edc)']] fails type constraint OptList ok 15 - not OptList has coercion ok 16 - OptList has coercion ok 17 - $OM->coerce(undef) ok 18 - $OM->coerce([]) ok 19 - simple $OM coercion test ok 20 - another simple $OM coercion test 1..20 ok t/20-unit/Types-Standard/overload.t ....................... ok 1 - Reference bless( [], 'Local::Class' ) passes type constraint Any ok 2 - Reference bless( [], 'Local::Class' ) passes type constraint Item ok 3 - Reference bless( [], 'Local::Class' ) passes type constraint Defined ok 4 - Reference bless( [], 'Local::Class' ) passes type constraint Ref ok 5 - Reference bless( [], 'Local::Class' ) passes type constraint Ref[ARRAY] ok 6 - Reference bless( [], 'Local::Class' ) passes type constraint Object ok 7 - Reference bless( [], 'Local::Class' ) passes type constraint Overload ok 8 - Reference bless( [], 'Local::Class' ) passes type constraint Overload[&] ok 9 - Reference bless( [], 'Local::Class' ) fails type constraint Ref[HASH] ok 10 - Reference bless( [], 'Local::Class' ) fails type constraint Overload[|] ok 11 - Value "Local::Class" fails type constraint Overload ok 12 - Reference [] fails type constraint Overload ok 13 - Item subtype: Overload[&] ok 14 - Defined subtype: Overload[&] ok 15 - Ref subtype: Overload[&] ok 16 - Object subtype: Overload[&] ok 17 - Overload subtype: Overload[&] 1..17 ok t/20-unit/Types-Standard/strmatch.t ....................... ok 1 - Value "mm" passes type constraint Enum[cm,km,m,mm] ok 2 - Value "cm" passes type constraint Enum[cm,km,m,mm] ok 3 - Value "m" passes type constraint Enum[cm,km,m,mm] ok 4 - Value "km" passes type constraint Enum[cm,km,m,mm] ok 5 - Value "MM" fails type constraint Enum[cm,km,m,mm] ok 6 - Value "mm " fails type constraint Enum[cm,km,m,mm] ok 7 - Value " mm" fails type constraint Enum[cm,km,m,mm] ok 8 - Value "miles" fails type constraint Enum[cm,km,m,mm] ok 9 - Value "5 km" passes type constraint Distance ok 10 - Value "5 mm" passes type constraint Distance ok 11 - Value "4 miles" fails type constraint Distance ok 12 - Value "5.5 km" fails type constraint Distance ok 13 - Reference [5,"km"] fails type constraint Distance ok 14 - Value "true" passes type constraint Boolean ok 15 - Value "True" passes type constraint Boolean ok 16 - Value "TRUE" passes type constraint Boolean ok 17 - Value "false" passes type constraint Boolean ok 18 - Value "False" passes type constraint Boolean ok 19 - Value "FALSE" passes type constraint Boolean ok 20 - Value "0" passes type constraint Boolean ok 21 - Value "1" passes type constraint Boolean ok 22 - Value "True " fails type constraint Boolean ok 23 - Value "11" fails type constraint Boolean ok 24 - Value "https://www.google.com/" passes type constraint SecureUrl ok 25 - Value "http://www.google.com/" fails type constraint SecureUrl 1..25 ok t/20-unit/Types-Standard/structured.t ..................... ok 1 - Reference {"1" => 111,"2" => 222} passes type constraint Map[Int,Num] ok 2 - Reference {"1" => "1.1","2" => "2.2"} passes type constraint Map[Int,Num] ok 3 - Reference {"1" => "Str","2" => 222} fails type constraint Map[Int,Num] ok 4 - Reference {"1.1" => 1,"2" => "2.2"} fails type constraint Map[Int,Num] ok 5 - Reference [1,"1.1"] passes type constraint Tuple[Int,Num,Optional[Int],slurpy ArrayRef[Num]] ok 6 - Reference [1,"1.1",2] passes type constraint Tuple[Int,Num,Optional[Int],slurpy ArrayRef[Num]] ok 7 - Reference [1,"1.1",2,"2.2"] passes type constraint Tuple[Int,Num,Optional[Int],slurpy ArrayRef[Num]] ok 8 - Reference [1,"1.1",2,"2.2","2.3"] passes type constraint Tuple[Int,Num,Optional[Int],slurpy ArrayRef[Num]] ok 9 - Reference [1,"1.1",2,"2.2","2.3","2.4"] passes type constraint Tuple[Int,Num,Optional[Int],slurpy ArrayRef[Num]] ok 10 - Reference {} fails type constraint Tuple[Int,Num,Optional[Int],slurpy ArrayRef[Num]] ok 11 - Reference [] fails type constraint Tuple[Int,Num,Optional[Int],slurpy ArrayRef[Num]] ok 12 - Reference [1] fails type constraint Tuple[Int,Num,Optional[Int],slurpy ArrayRef[Num]] ok 13 - Reference ["1.1","1.1"] fails type constraint Tuple[Int,Num,Optional[Int],slurpy ArrayRef[Num]] ok 14 - Reference [1,"1.1","2.1"] fails type constraint Tuple[Int,Num,Optional[Int],slurpy ArrayRef[Num]] ok 15 - Reference [1,"1.1","2.1"] fails type constraint Tuple[Int,Num,Optional[Int],slurpy ArrayRef[Num]] ok 16 - Reference [1,"1.1",2,"2.2","2.3","2.4","xyz"] fails type constraint Tuple[Int,Num,Optional[Int],slurpy ArrayRef[Num]] ok 17 - Reference [1,"1.1",undef] fails type constraint Tuple[Int,Num,Optional[Int],slurpy ArrayRef[Num]] ok 18 - Reference [1,"1.1"] passes type constraint Tuple[Int,Num,Optional[Int]] ok 19 - Reference [1,"1.1",2] passes type constraint Tuple[Int,Num,Optional[Int]] ok 20 - Reference [1,"1.1",2,"2.2"] fails type constraint Tuple[Int,Num,Optional[Int]] ok 21 - Reference [1,"1.1",2,"2.2","2.3"] fails type constraint Tuple[Int,Num,Optional[Int]] ok 22 - Reference [1,"1.1",2,"2.2","2.3","2.4"] fails type constraint Tuple[Int,Num,Optional[Int]] ok 23 - Reference {} fails type constraint Tuple[Int,Num,Optional[Int]] ok 24 - Reference [] fails type constraint Tuple[Int,Num,Optional[Int]] ok 25 - Reference [1] fails type constraint Tuple[Int,Num,Optional[Int]] ok 26 - Reference ["1.1","1.1"] fails type constraint Tuple[Int,Num,Optional[Int]] ok 27 - Reference [1,"1.1","2.1"] fails type constraint Tuple[Int,Num,Optional[Int]] ok 28 - Reference [1,"1.1","2.1"] fails type constraint Tuple[Int,Num,Optional[Int]] ok 29 - Reference [1,"1.1",2,"2.2","2.3","2.4","xyz"] fails type constraint Tuple[Int,Num,Optional[Int]] ok 30 - Reference [1,"1.1",undef] fails type constraint Tuple[Int,Num,Optional[Int]] ok 31 - Reference {"age" => 40,"height" => "1.76","name" => "Bob"} passes type constraint Dict[age=>Int,height=>Optional[Num],name=>Str] ok 32 - Reference {"age" => 40,"name" => "Bob"} passes type constraint Dict[age=>Int,height=>Optional[Num],name=>Str] ok 33 - Reference {"name" => "Bob"} fails type constraint Dict[age=>Int,height=>Optional[Num],name=>Str] ok 34 - Reference {"age" => 40} fails type constraint Dict[age=>Int,height=>Optional[Num],name=>Str] ok 35 - Reference {"age" => "40.1","name" => "Bob"} fails type constraint Dict[age=>Int,height=>Optional[Num],name=>Str] ok 36 - Reference {"age" => 40,"name" => "Bob","weight" => "80.3"} fails type constraint Dict[age=>Int,height=>Optional[Num],name=>Str] ok 37 - Reference {"age" => 40,"height" => "1.76","name" => "Bob","weight" => "80.3"} fails type constraint Dict[age=>Int,height=>Optional[Num],name=>Str] ok 38 - Reference {"age" => 40,"height" => "xyz","name" => "Bob"} fails type constraint Dict[age=>Int,height=>Optional[Num],name=>Str] ok 39 - Reference {"age" => 40,"height" => undef,"name" => "Bob"} fails type constraint Dict[age=>Int,height=>Optional[Num],name=>Str] ok 40 - Reference {"age" => undef,"height" => "1.76","name" => "Bob"} fails type constraint Dict[age=>Int,height=>Optional[Num],name=>Str] ok 41 - Optional[Int] check (1) ok 42 - Optional[Int] check ('xxx') ok 43 - Reference [[],"1.1",1,"2.1",2] passes type constraint Tuple[ArrayRef,slurpy Map[Num,Int]] ok 44 - Reference [[]] passes type constraint Tuple[ArrayRef,slurpy Map[Num,Int]] ok 45 - Reference [[],"1.1",1,"xxx",2] fails type constraint Tuple[ArrayRef,slurpy Map[Num,Int]] ok 46 - Reference [[],"1.1",1,"2.1",undef] fails type constraint Tuple[ArrayRef,slurpy Map[Num,Int]] ok 47 - Reference {"b" => undef,"i" => 42} passes type constraint Dict[b=>Bool,i=>Maybe[Int]] ok 48 - Reference {"b" => "","i" => 42} passes type constraint Dict[b=>Bool,i=>Maybe[Int]] ok 49 - Reference {"b" => 0,"i" => 42} passes type constraint Dict[b=>Bool,i=>Maybe[Int]] ok 50 - Reference {"b" => 1,"i" => 42} passes type constraint Dict[b=>Bool,i=>Maybe[Int]] ok 51 - Reference {"b" => 1,"i" => undef} passes type constraint Dict[b=>Bool,i=>Maybe[Int]] ok 52 - Reference {"b" => 42,"i" => 1} fails type constraint Dict[b=>Bool,i=>Maybe[Int]] ok 53 - Reference {"i" => 42} fails type constraint Dict[b=>Bool,i=>Maybe[Int]] ok 54 - Reference {"b" => 1} fails type constraint Dict[b=>Bool,i=>Maybe[Int]] ok 55 - Reference {"a" => 1,"b" => 1,"i" => 42} fails type constraint Dict[b=>Bool,i=>Maybe[Int]] ok 56 - Reference {"a" => 1,"i" => 42} fails type constraint Dict[b=>Bool,i=>Maybe[Int]] ok 57 - Reference {"a" => 42,"b" => 1} fails type constraint Dict[b=>Bool,i=>Maybe[Int]] ok 58 - Reference [1,1] passes type constraint Tuple[Any,Any] ok 59 - Reference [1,undef] passes type constraint Tuple[Any,Any] ok 60 - Reference [undef,undef] passes type constraint Tuple[Any,Any] ok 61 - Reference [undef,1] passes type constraint Tuple[Any,Any] ok 62 - Reference [1] fails type constraint Tuple[Any,Any] ok 63 - Reference [undef] fails type constraint Tuple[Any,Any] ok 64 - Reference [1,1,1] fails type constraint Tuple[Any,Any] ok 65 - Reference [1,1,undef] fails type constraint Tuple[Any,Any] # Tuple[] vs Tuple ok 66 - Reference [] passes type constraint Tuple[] ok 67 - Reference [1] fails type constraint Tuple[] ok 68 - Reference [] passes type constraint Tuple ok 69 - Reference [1] passes type constraint Tuple # Dict[] vs Dict ok 70 - Reference {} passes type constraint Dict[] ok 71 - Reference {"foo" => 1} fails type constraint Dict[] ok 72 - Reference {} passes type constraint Dict ok 73 - Reference {"foo" => 1} passes type constraint Dict # Dict[ ..., slurpy ... ] ok 74 - Reference {"foo" => 42} passes type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 75 - Reference {"bar" => 666,"foo" => 42} passes type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 76 - Reference {"foo" => "4.2"} fails type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 77 - Reference {"bar" => "6.66","foo" => 42} fails type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 78 - Reference {"bar" => "6.66","foo" => "4.2"} fails type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 79 - Reference {"foo" => undef} fails type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 80 - Reference {} fails type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 81 - Reference {"baz" => 999,"foo" => 42} passes type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 82 - Reference {"bar" => 666,"baz" => 999,"foo" => 42} passes type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 83 - Reference {"baz" => 999,"foo" => "4.2"} fails type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 84 - Reference {"bar" => "6.66","baz" => 999,"foo" => 42} fails type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 85 - Reference {"bar" => "6.66","baz" => 999,"foo" => "4.2"} fails type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 86 - Reference {"baz" => 999,"foo" => undef} fails type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 87 - Reference {"baz" => 999} fails type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 88 - Reference {"baz" => "9.99","foo" => 42} passes type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 89 - Reference {"bar" => 666,"baz" => "9.99","foo" => 42} passes type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 90 - Reference {"baz" => "9.99","foo" => "4.2"} fails type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 91 - Reference {"bar" => "6.66","baz" => "9.99","foo" => 42} fails type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 92 - Reference {"bar" => "6.66","baz" => "9.99","foo" => "4.2"} fails type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 93 - Reference {"baz" => "9.99","foo" => undef} fails type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 94 - Reference {"baz" => "9.99"} fails type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 95 - Reference {"baz" => "x","foo" => 42} fails type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 96 - Reference {"bar" => 666,"baz" => "x","foo" => 42} fails type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 97 - Reference {"baz" => "x","foo" => "4.2"} fails type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 98 - Reference {"bar" => "6.66","baz" => "x","foo" => 42} fails type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 99 - Reference {"bar" => "6.66","baz" => "x","foo" => "4.2"} fails type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 100 - Reference {"baz" => "x","foo" => undef} fails type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] ok 101 - Reference {"baz" => "x"} fails type constraint Dict[bar=>Optional[Int],foo=>Int,slurpy HashRef[Num]] # Subtest: my_dict_is_slurpy ok 1 - On a non-slurpy Dict ok 2 - On a slurpy Dict ok 3 - On a child of a non-slurpy Dict ok 4 - On a child of a slurpy Dict 1..4 ok 102 - my_dict_is_slurpy # Subtest: my_hashref_allows_key ok 1 - HashRef allows key "foo" ok 2 - HashRef disallows key undef ok 3 - HashRef disallows key [] ok 4 - HashRef[Int] allows key "foo" ok 5 - HashRef[Int] disallows key undef ok 6 - HashRef[Int] disallows key [] ok 7 - Map allows key "foo" ok 8 - Map disallows key undef ok 9 - Map disallows key [] ok 10 - Map[Int,Int] disallows key "foo" ok 11 - Map[Int,Int] disallows key undef ok 12 - Map[Int,Int] disallows key [] ok 13 - Map[Int,Int] allows key "42" ok 14 - Dict allows key "foo" ok 15 - Dict disallows key undef ok 16 - Dict disallows key [] ok 17 - Dict[] disallows key "foo" ok 18 - Dict[] disallows key undef ok 19 - Dict[] disallows key [] ok 20 - Dict[bar=>Int] disallows key "foo" ok 21 - Dict[bar=>Int] allows key "bar" ok 22 - Dict[bar=>Int] disallows key undef ok 23 - Dict[bar=>Int] disallows key [] ok 24 - Dict[bar=>Int,slurpy Any] allows key "foo" ok 25 - Dict[bar=>Int,slurpy Any] allows key "bar" ok 26 - Dict[bar=>Int,slurpy Any] disallows key undef ok 27 - Dict[bar=>Int,slurpy Any] disallows key [] ok 28 - Dict[bar=>Int,slurpy Ref] allows key "foo" ok 29 - Dict[bar=>Int,slurpy Ref] allows key "bar" ok 30 - Dict[bar=>Int,slurpy Ref] disallows key undef ok 31 - Dict[bar=>Int,slurpy Ref] disallows key [] ok 32 - Dict[bar=>Int,slurpy Map[Int,Int]] disallows key "foo" ok 33 - Dict[bar=>Int,slurpy Map[Int,Int]] allows key "bar" ok 34 - Dict[bar=>Int,slurpy Map[Int,Int]] disallows key undef ok 35 - Dict[bar=>Int,slurpy Map[Int,Int]] disallows key [] ok 36 - Dict[bar=>Int,slurpy Map[Int,Int]] allows key "42" ok 37 - A child of HashRef allows key "foo" ok 38 - A child of HashRef disallows key undef ok 39 - A child of HashRef disallows key [] ok 40 - A child of HashRef[Int] allows key "foo" ok 41 - A child of HashRef[Int] disallows key undef ok 42 - A child of HashRef[Int] disallows key [] ok 43 - A child of Map allows key "foo" ok 44 - A child of Map disallows key undef ok 45 - A child of Map disallows key [] ok 46 - A child of Map[Int,Int] disallows key "foo" ok 47 - A child of Map[Int,Int] disallows key undef ok 48 - A child of Map[Int,Int] disallows key [] ok 49 - A child of Map[Int,Int] allows key "42" ok 50 - A child of Dict allows key "foo" ok 51 - A child of Dict disallows key undef ok 52 - A child of Dict disallows key [] ok 53 - A child of Dict[] disallows key "foo" ok 54 - A child of Dict[] disallows key undef ok 55 - A child of Dict[] disallows key [] ok 56 - A child of Dict[bar=>Int] disallows key "foo" ok 57 - A child of Dict[bar=>Int] allows key "bar" ok 58 - A child of Dict[bar=>Int] disallows key undef ok 59 - A child of Dict[bar=>Int] disallows key [] ok 60 - A child of Dict[bar=>Int,slurpy Any] allows key "foo" ok 61 - A child of Dict[bar=>Int,slurpy Any] allows key "bar" ok 62 - A child of Dict[bar=>Int,slurpy Any] disallows key undef ok 63 - A child of Dict[bar=>Int,slurpy Any] disallows key [] ok 64 - A child of Dict[bar=>Int,slurpy Ref] allows key "foo" ok 65 - A child of Dict[bar=>Int,slurpy Ref] allows key "bar" ok 66 - A child of Dict[bar=>Int,slurpy Ref] disallows key undef ok 67 - A child of Dict[bar=>Int,slurpy Ref] disallows key [] ok 68 - A child of Dict[bar=>Int,slurpy Map[Int,Int]] disallows key "foo" ok 69 - A child of Dict[bar=>Int,slurpy Map[Int,Int]] allows key "bar" ok 70 - A child of Dict[bar=>Int,slurpy Map[Int,Int]] disallows key undef ok 71 - A child of Dict[bar=>Int,slurpy Map[Int,Int]] disallows key [] ok 72 - A child of Dict[bar=>Int,slurpy Map[Int,Int]] allows key "42" 1..72 ok 103 - my_hashref_allows_key # Subtest: my_hashref_allows_value ok 1 - HashRef allows key "foo" with value "bar" ok 2 - HashRef allows key "foo" with value undef ok 3 - HashRef disallows key undef with value "bar" ok 4 - HashRef[Int] disallows key "foo" with value "bar" ok 5 - A child of Dict[bar=>Int,slurpy Map[Int,Int]] allows key "bar" with value 42 ok 6 - A child of Dict[bar=>Int,slurpy Map[Int,Int]] allows key "21" with value 42 ok 7 - A child of Dict[bar=>Int,slurpy Map[Int,Int]] disallows key "baz" with value 42 1..7 ok 104 - my_hashref_allows_value 1..104 ok t/20-unit/Types-Standard/tied.t ........................... ok 1 - Reference [] passes type constraint Tied ok 2 - Reference {} passes type constraint Tied ok 3 - Reference \undef passes type constraint Tied ok 4 - Undef fails type constraint Tied ok 5 - Reference [] passes type constraint Tied["MyTie::Array"] ok 6 - Reference {} fails type constraint Tied["MyTie::Array"] ok 7 - Reference \undef fails type constraint Tied["MyTie::Array"] ok 8 - Reference [] fails type constraint Tied["MyTie::Hash"] ok 9 - Reference {} passes type constraint Tied["MyTie::Hash"] ok 10 - Reference \undef fails type constraint Tied["MyTie::Hash"] ok 11 - Reference [] fails type constraint Tied["MyTie::Scalar"] ok 12 - Reference {} fails type constraint Tied["MyTie::Scalar"] ok 13 - Reference \undef passes type constraint Tied["MyTie::Scalar"] ok 14 - Reference [] passes type constraint Tied[MyTieArray] ok 15 - Reference {} fails type constraint Tied[MyTieArray] ok 16 - Reference \undef fails type constraint Tied[MyTieArray] ok 17 - Reference [] fails type constraint Tied[MyTieHash] ok 18 - Reference {} passes type constraint Tied[MyTieHash] ok 19 - Reference \undef fails type constraint Tied[MyTieHash] ok 20 - Reference [] fails type constraint Tied[MyTieScalar] ok 21 - Reference {} fails type constraint Tied[MyTieScalar] ok 22 - Reference \undef passes type constraint Tied[MyTieScalar] ok 23 - Reference {} passes type constraint Tied&HashRef ok 24 - Reference [] fails type constraint Tied&HashRef ok 25 - Reference \undef fails type constraint Tied&HashRef ok 26 - Reference {"foo" => 2} fails type constraint Tied&HashRef 1..26 ok t/20-unit/Types-TypeTiny/basic.t .......................... skipped: List::Util version 1.45 required--this is only version 1.43 at C:/cpanfly-5.22-32/var/megalib/Moose/Exporter.pm line 9. t/20-unit/Types-TypeTiny/coercion.t ....................... skipped: List::Util version 1.45 required--this is only version 1.43 at C:/cpanfly-5.22-32/var/megalib/Moose/Exporter.pm line 9. t/20-unit/Types-TypeTiny/meta.t ........................... ok 1 - type_names ok 2 - has_type(HashLike) ok 3 - get_type(HashLike) ok 4 - has_type(MonkeyNuts) ok 5 - get_type(MonkeyNuts) ok 6 - coercion_names ok 7 - has_coercion(MonkeyNuts) ok 8 - get_coercion(MonkeyNuts) 1..8 ok t/30-integration/Class-InsideOut/basic.t .................. ok 1 - Object::HookedTT has/inherited its expected properties ok 2 - Creating a Object::HookedTT object ok 3 - integer(3.14) dies ok 4 - integer(42) lives ok 5 - integer() == 42 ok 6 - word(^^^^) dies ok 7 - word(apple) lives ok 8 - word() eq 'apple' ok 9 - uppercase(banana) lives ok 10 - uppercase() eq 'BANANA' ok 11 - list(qw(foo bar bam)) lives ok 12 - list() gives qw(foo bar bam) ok 13 - list( [qw(foo bar bam)] ) lives ok 14 - list() gives qw(foo bar bam) ok 15 - reverser(qw(foo bar bam)) lives ok 16 - reverser() in list context gives qw(bam bar foo) ok 17 - reverser() in scalar context gives mabraboof ok 18 - write_only lives on write ok 19 - write only dies on write (and was caught) 1..19 ok t/30-integration/Exporter-Tiny/basic.t .................... ok 1 - No exception exporting a legitimate function ok 2 - main->can('Any') ok 3 - Attempt to export a function which does not exist ok 4 - Attempt to export a function which exists but not in @EXPORT_OK ok 5 - "-types" shortcut works ok 6 - "-coercions" shortcut works ok 7 - renaming works ok 8 - prefixes work ok 9 - suffixes work ok 10 - plus notation works for Type::Library ok 11 - mkopt_hash 1..11 ok t/30-integration/Exporter-Tiny/installer.t ................ skipped: Test requires module 'Sub::Exporter::Lexical' but it's not found t/30-integration/Exporter-Tiny/role-conflict.t ............ ok 1 - no exception when trying to compose two roles that use type constraints # 44407852 # 44407852 1..1 ok Can't locate Sub/Quote.pm in @INC (you may need to install the Sub::Quote module) (@INC contains: ./lib ./t/lib ../inc ./inc C:\cpanfly-5.22-32\var\tmp\cpan_build\Type-Tiny-1.000006-CeleXl\inc C:\cpanfly-5.22-32\var\tmp\cpan_build\Type-Tiny-1.000006-CeleXl\blib\lib C:\cpanfly-5.22-32\var\tmp\cpan_build\Type-Tiny-1.000006-CeleXl\blib\arch C:/cpanfly-5.22-32/var/megalib C:/Perl-5.22-32/site/lib C:/Perl-5.22-32/lib .) at C:/cpanfly-5.22-32/var/megalib/Method/Generate/Constructor.pm line 4. BEGIN failed--compilation aborted at C:/cpanfly-5.22-32/var/megalib/Method/Generate/Constructor.pm line 4. Compilation failed in require at C:/cpanfly-5.22-32/var/megalib/Moo.pm line 170. Compilation failed in require at C:/cpanfly-5.22-32/var/megalib/Function/Parameters.pm line 279. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 2 just after 2. t/30-integration/Function-Parameters/basic.t .............. ok 1 - foo(4) works ok 2 - foo(4.1) throws Dubious, test returned 2 (wstat 512, 0x200) All 2 subtests passed t/30-integration/Kavorka/basic.t .......................... skipped: Test requires module 'Kavorka' but it's not found t/30-integration/match-simple/basic.t ..................... ok 1 ok 2 ok 3 ok 4 ok 5 1..5 ok Can't locate Sub/Quote.pm in @INC (you may need to install the Sub::Quote module) (@INC contains: ./lib ./t/lib ../inc ./inc C:\cpanfly-5.22-32\var\tmp\cpan_build\Type-Tiny-1.000006-CeleXl\inc C:\cpanfly-5.22-32\var\tmp\cpan_build\Type-Tiny-1.000006-CeleXl\blib\lib C:\cpanfly-5.22-32\var\tmp\cpan_build\Type-Tiny-1.000006-CeleXl\blib\arch C:/cpanfly-5.22-32/var/megalib C:/Perl-5.22-32/site/lib C:/Perl-5.22-32/lib .) at C:/cpanfly-5.22-32/var/megalib/Method/Generate/Constructor.pm line 4. BEGIN failed--compilation aborted at C:/cpanfly-5.22-32/var/megalib/Method/Generate/Constructor.pm line 4. Compilation failed in require at C:/cpanfly-5.22-32/var/megalib/Moo.pm line 170. t/30-integration/Moo/basic.t .............................. Dubious, test returned 2 (wstat 512, 0x200) No subtests run Can't locate Sub/Quote.pm in @INC (you may need to install the Sub::Quote module) (@INC contains: C:\cpanfly-5.22-32\var\tmp\cpan_build\Type-Tiny-1.000006-CeleXl\inc C:\cpanfly-5.22-32\var\tmp\cpan_build\Type-Tiny-1.000006-CeleXl\blib\lib C:\cpanfly-5.22-32\var\tmp\cpan_build\Type-Tiny-1.000006-CeleXl\blib\arch C:/cpanfly-5.22-32/var/megalib C:/cpanfly-5.22-32/var/megalib C:/Perl-5.22-32/site/lib C:/Perl-5.22-32/lib .) at C:/cpanfly-5.22-32/var/megalib/Method/Generate/Constructor.pm line 4. BEGIN failed--compilation aborted at C:/cpanfly-5.22-32/var/megalib/Method/Generate/Constructor.pm line 4. Compilation failed in require at C:/cpanfly-5.22-32/var/megalib/Moo.pm line 170. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 2 just after 2. t/30-integration/Moo/coercion-inlining-avoidance.t ........ ok 1 - created a type constraint without a frozen coercion ok 2 - ... it reports that it cannot be inlined Dubious, test returned 2 (wstat 512, 0x200) All 2 subtests passed Can't locate Sub/Quote.pm in @INC (you may need to install the Sub::Quote module) (@INC contains: ./lib ./t/lib ../inc ./inc C:\cpanfly-5.22-32\var\tmp\cpan_build\Type-Tiny-1.000006-CeleXl\inc C:\cpanfly-5.22-32\var\tmp\cpan_build\Type-Tiny-1.000006-CeleXl\blib\lib C:\cpanfly-5.22-32\var\tmp\cpan_build\Type-Tiny-1.000006-CeleXl\blib\arch C:/cpanfly-5.22-32/var/megalib C:/Perl-5.22-32/site/lib C:/Perl-5.22-32/lib .) at C:/cpanfly-5.22-32/var/megalib/Method/Generate/Constructor.pm line 4. BEGIN failed--compilation aborted at C:/cpanfly-5.22-32/var/megalib/Method/Generate/Constructor.pm line 4. Compilation failed in require at C:/cpanfly-5.22-32/var/megalib/Moo.pm line 170. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 2 just after 1. t/30-integration/Moo/coercion.t ........................... ok 1 - An object of class 'Type::Tiny' isa 'Type::Tiny' Dubious, test returned 2 (wstat 512, 0x200) All 1 subtests passed Can't locate Sub/Quote.pm in @INC (you may need to install the Sub::Quote module) (@INC contains: ./lib ./t/lib ../inc ./inc C:\cpanfly-5.22-32\var\tmp\cpan_build\Type-Tiny-1.000006-CeleXl\inc C:\cpanfly-5.22-32\var\tmp\cpan_build\Type-Tiny-1.000006-CeleXl\blib\lib C:\cpanfly-5.22-32\var\tmp\cpan_build\Type-Tiny-1.000006-CeleXl\blib\arch C:/cpanfly-5.22-32/var/megalib C:/Perl-5.22-32/site/lib C:/Perl-5.22-32/lib .) at C:/cpanfly-5.22-32/var/megalib/Method/Generate/Accessor.pm line 7. BEGIN failed--compilation aborted at C:/cpanfly-5.22-32/var/megalib/Method/Generate/Accessor.pm line 7. Compilation failed in require at t/30-integration/Moo/exceptions.t line 35. BEGIN failed--compilation aborted at t/30-integration/Moo/exceptions.t line 39. t/30-integration/Moo/exceptions.t ......................... Dubious, test returned 2 (wstat 512, 0x200) No subtests run Can't locate Sub/Quote.pm in @INC (you may need to install the Sub::Quote module) (@INC contains: ./lib ./t/lib ../inc ./inc C:\cpanfly-5.22-32\var\tmp\cpan_build\Type-Tiny-1.000006-CeleXl\inc C:\cpanfly-5.22-32\var\tmp\cpan_build\Type-Tiny-1.000006-CeleXl\blib\lib C:\cpanfly-5.22-32\var\tmp\cpan_build\Type-Tiny-1.000006-CeleXl\blib\arch C:/cpanfly-5.22-32/var/megalib C:/Perl-5.22-32/site/lib C:/Perl-5.22-32/lib .) at C:/cpanfly-5.22-32/var/megalib/Method/Generate/Constructor.pm line 4. BEGIN failed--compilation aborted at C:/cpanfly-5.22-32/var/megalib/Method/Generate/Constructor.pm line 4. Compilation failed in require at C:/cpanfly-5.22-32/var/megalib/Moo.pm line 170. t/30-integration/Moo/inflation.t .......................... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/30-integration/Moo/inflation2.t ......................... skipped: List::Util version 1.45 required--this is only version 1.43 at C:/cpanfly-5.22-32/var/megalib/Moose/Exporter.pm line 9. t/30-integration/Moops/basic.t ............................ skipped: Test requires module 'Moops' but it's not found t/30-integration/Moops/library-keyword.t .................. skipped: Test requires module 'Moops' but it's not found t/30-integration/Moose/accept-moose-types.t ............... skipped: List::Util version 1.45 required--this is only version 1.43 at C:/cpanfly-5.22-32/var/megalib/Moose/Exporter.pm line 9. t/30-integration/Moose/basic.t ............................ skipped: List::Util version 1.45 required--this is only version 1.43 at C:/cpanfly-5.22-32/var/megalib/Moose/Exporter.pm line 9. t/30-integration/Moose/coercion.t ......................... skipped: List::Util version 1.45 required--this is only version 1.43 at C:/cpanfly-5.22-32/var/megalib/Moose/Exporter.pm line 9. t/30-integration/Moose/inflate-then-inline.t .............. skipped: List::Util version 1.45 required--this is only version 1.43 at C:/cpanfly-5.22-32/var/megalib/Moose/Exporter.pm line 9. t/30-integration/Moose/native-attribute-traits.t .......... skipped: List::Util version 1.45 required--this is only version 1.43 at C:/cpanfly-5.22-32/var/megalib/Moose/Exporter.pm line 9. t/30-integration/MooseX-Getopt/coercion.t ................. skipped: List::Util version 1.45 required--this is only version 1.43 at C:/cpanfly-5.22-32/var/megalib/Moose/Exporter.pm line 9. t/30-integration/MooseX-Types/basic.t ..................... skipped: List::Util version 1.45 required--this is only version 1.43 at C:/cpanfly-5.22-32/var/megalib/Moose/Exporter.pm line 9. t/30-integration/MooseX-Types/extending.t ................. skipped: List::Util version 1.45 required--this is only version 1.43 at C:/cpanfly-5.22-32/var/megalib/Moose/Exporter.pm line 9. t/30-integration/MooseX-Types/more.t ...................... skipped: List::Util version 1.45 required--this is only version 1.43 at C:/cpanfly-5.22-32/var/megalib/Moose/Exporter.pm line 9. t/30-integration/Mouse/basic.t ............................ ok 1 - some values that should pass their type constraint ok 2 - direct violation of type constraint ok 3 - violation of parent type constraint ok 4 - violation of grandparent type constraint ok 5 - violation of great-grandparent type constraint ok 6 - Mouse::Util::is_a_type_constraint accepts Type::Tiny type constraints # Coercion... ok 7 - types converted from Mouse retain coercions ok 8 - ... which work 1..8 ok t/30-integration/Mouse/coercion.t ......................... ok 1 - An object of class 'Type::Tiny' isa 'Mouse::Meta::TypeConstraint' ok 2 - no exception on coercion in constructor - mutable class ok 3 - 'big' attribute coerces in constructor - mutable class ok 4 - 'small' attribute coerces in constructor - mutable class ok 5 - 'big' attribute throws when it cannot coerce in constructor - mutable class ok 6 - 'small' attribute throws when it cannot coerce in constructor - mutable class ok 7 - 'big' attribute coerces in accessor - mutable class ok 8 - 'small' attribute coerces in accessor - mutable class ok 9 - 'big' attribute throws when it cannot coerce in accessor - mutable class ok 10 - 'small' attribute throws when it cannot coerce in accessor - mutable class ok 11 - no exception on coercion in constructor - immutable class ok 12 - 'big' attribute coerces in constructor - immutable class ok 13 - 'small' attribute coerces in constructor - immutable class ok 14 - 'big' attribute throws when it cannot coerce in constructor - immutable class ok 15 - 'small' attribute throws when it cannot coerce in constructor - immutable class ok 16 - 'big' attribute coerces in accessor - immutable class ok 17 - 'small' attribute coerces in accessor - immutable class ok 18 - 'big' attribute throws when it cannot coerce in accessor - immutable class ok 19 - 'small' attribute throws when it cannot coerce in accessor - immutable class 1..19 ok t/30-integration/MouseX-Types/basic.t ..................... ok 1 - An object of class 'Mouse::Meta::TypeConstraint' isa 'Mouse::Meta::TypeConstraint' ok 2 - An object of class 'Mouse::Meta::TypeConstraint' isa 'Mouse::Meta::TypeConstraint' ok 3 - An object of class 'Type::Tiny::Union' isa 'Type::Tiny' ok 4 - Reference [] passes type constraint ArrayRef|Int ok 5 - Value "2" passes type constraint ArrayRef|Int ok 6 - Reference {} fails type constraint ArrayRef|Int ok 7 - Reference [] passes type constraint ArrayRef|Int ok 8 - Value "2" passes type constraint ArrayRef|Int ok 9 - Reference {} fails type constraint ArrayRef|Int # bless( { # 'compiled_type_constraint' => sub { "DUMMY" }, # 'constraint' => sub { "DUMMY" }, # 'display_name' => 'ArrayRef|Int', # 'name' => '__ANON__', # 'parent' => undef, # 'type_constraints' => [ # bless( { # '_is_core' => 1, # '_overload_coderef' => sub { "DUMMY" }, # 'coercion' => bless( { # '_compiled_type_constraint_check' => sub { "DUMMY" }, # 'display_name' => 'to_ArrayRef', # 'frozen' => 1, # 'name' => '__ANON__', # 'type_coercion_map' => [], # 'type_constraint' => $VAR1->{'type_constraints'}[0] # }, 'Type::Coercion' ), # 'coercion_generator' => bless( [ # 'ArrayRef', # 'coercion_generator' # ], 'Types::Standard::LazyLoad' ), # 'compiled_type_constraint' => $VAR1->{'type_constraints'}[0]{'coercion'}{'_compiled_type_constraint_check'}, # 'constraint' => sub { "DUMMY" }, # 'constraint_generator' => bless( [ # 'ArrayRef', # 'constraint_generator' # ], 'Types::Standard::LazyLoad' ), # 'deep_explanation' => bless( [ # 'ArrayRef', # 'deep_explanation' # ], 'Types::Standard::LazyLoad' ), # 'display_name' => 'ArrayRef', # 'inline_generator' => bless( [ # 'ArrayRef', # 'inline_generator' # ], 'Types::Standard::LazyLoad' ), # 'inlined' => sub { "DUMMY" }, # 'library' => 'Types::Standard', # 'name' => 'ArrayRef', # 'parent' => bless( { # '_is_core' => 1, # '_overload_coderef' => sub { "DUMMY" }, # 'coercion' => bless( { # '_compiled_type_constraint_check' => sub { "DUMMY" }, # 'display_name' => 'to_Ref', # 'frozen' => 1, # 'name' => '__ANON__', # 'type_coercion_map' => [], # 'type_constraint' => $VAR1->{'type_constraints'}[0]{'parent'} # }, 'Type::Coercion' ), # 'compiled_type_constraint' => $VAR1->{'type_constraints'}[0]{'parent'}{'coercion'}{'_compiled_type_constraint_check'}, # 'constraint' => sub { "DUMMY" }, # 'constraint_generator' => sub { "DUMMY" }, # 'deep_explanation' => sub { "DUMMY" }, # 'display_name' => 'Ref', # 'inline_generator' => sub { "DUMMY" }, # 'inlined' => sub { "DUMMY" }, # 'library' => 'Types::Standard', # 'name' => 'Ref', # 'parent' => bless( { # '_is_core' => 1, # '_overload_coderef' => sub { "DUMMY" }, # 'coercion' => bless( { # '_compiled_type_constraint_check' => sub { "DUMMY" }, # 'display_name' => 'to_Defined', # 'frozen' => 1, # 'name' => '__ANON__', # 'type_coercion_map' => [], # 'type_constraint' => $VAR1->{'type_constraints'}[0]{'parent'}{'parent'} # }, 'Type::Coercion' ), # 'compiled_type_constraint' => $VAR1->{'type_constraints'}[0]{'parent'}{'parent'}{'coercion'}{'_compiled_type_constraint_check'}, # 'constraint' => sub { "DUMMY" }, # 'display_name' => 'Defined', # 'inlined' => sub { "DUMMY" }, # 'library' => 'Types::Standard', # 'name' => 'Defined', # 'parent' => bless( { # '_is_core' => 1, # '_overload_coderef' => sub { "DUMMY" }, # 'coercion' => bless( { # '_compiled_type_constraint_check' => sub { "DUMMY" }, # 'display_name' => 'to_Item', # 'frozen' => 1, # 'name' => '__ANON__', # 'type_coercion_map' => [], # 'type_constraint' => $VAR1->{'type_constraints'}[0]{'parent'}{'parent'}{'parent'} # }, 'Type::Coercion' ), # 'compiled_type_constraint' => $VAR1->{'type_constraints'}[0]{'parent'}{'parent'}{'parent'}{'coercion'}{'_compiled_type_constraint_check'}, # 'constraint' => sub { "DUMMY" }, # 'display_name' => 'Item', # 'inlined' => sub { "DUMMY" }, # 'library' => 'Types::Standard', # 'name' => 'Item', # 'parent' => bless( { # '_is_core' => 1, # '_overload_coderef' => sub { "DUMMY" }, # 'coercion' => bless( { # '_compiled_type_constraint_check' => $VAR1->{'type_constraints'}[0]{'parent'}{'parent'}{'parent'}{'coercion'}{'_compiled_type_constraint_check'}, # 'display_name' => 'to_Any', # 'frozen' => 1, # 'name' => '__ANON__', # 'type_coercion_map' => [], # 'type_constraint' => $VAR1->{'type_constraints'}[0]{'parent'}{'parent'}{'parent'}{'parent'} # }, 'Type::Coercion' ), # 'compiled_type_constraint' => $VAR1->{'type_constraints'}[0]{'parent'}{'parent'}{'parent'}{'coercion'}{'_compiled_type_constraint_check'}, # 'constraint' => $VAR1->{'type_constraints'}[0]{'parent'}{'parent'}{'parent'}{'constraint'}, # 'display_name' => 'Any', # 'inlined' => sub { "DUMMY" }, # 'library' => 'Types::Standard', # 'name' => 'Any', # 'uniq' => 1 # }, 'Type::Tiny' ), # 'uniq' => 2 # }, 'Type::Tiny' ), # 'uniq' => 5 # }, 'Type::Tiny' ), # 'uniq' => 14 # }, 'Type::Tiny' ), # 'uniq' => 19 # }, 'Type::Tiny' ), # bless( { # 'compiled_type_constraint' => sub { "DUMMY" }, # 'constraint' => sub { "DUMMY" }, # 'display_name' => 'Int', # 'message' => sub { "DUMMY" }, # 'name' => '__ANON__', # 'uniq' => 38 # }, 'Type::Tiny' ) # ], # 'uniq' => 39 # }, 'Type::Tiny::Union' ) ok 10 - Reference [1,2,3] passes type constraint ArrayRef[Int] ok 11 - Reference [] passes type constraint ArrayRef[Int] ok 12 - Reference {} fails type constraint ArrayRef[Int] ok 13 - Reference ["x"] fails type constraint ArrayRef[Int] ok 14 - Reference [1,2,3] passes type constraint ArrayRef[Int] ok 15 - Reference [] passes type constraint ArrayRef[Int] ok 16 - Reference {} fails type constraint ArrayRef[Int] ok 17 - Reference ["x"] fails type constraint ArrayRef[Int] ok 18 - Reference [] passes type constraint ArrayRef[ArrayRef|Int] ok 19 - Reference [1,2,3] passes type constraint ArrayRef[ArrayRef|Int] ok 20 - Reference [[],[]] passes type constraint ArrayRef[ArrayRef|Int] ok 21 - Reference [11,[]] passes type constraint ArrayRef[ArrayRef|Int] ok 22 - Reference [[],11] passes type constraint ArrayRef[ArrayRef|Int] ok 23 - Reference ["1.111"] fails type constraint ArrayRef[ArrayRef|Int] 1..23 ok t/30-integration/MouseX-Types/extending.t ................. ok 1 - Value "foo" passes type constraint Str ok 2 - Value "" passes type constraint Str ok 3 - Value "foo" passes type constraint NonEmptyStr ok 4 - Value "" fails type constraint NonEmptyStr ok 5 - Reference {} passes type constraint HashLike ok 6 - Reference [] fails type constraint HashLike ok 7 - cannot extend non-type-library 1..7 ok t/30-integration/Object-Accessor/basic.t .................. ok 1 - write then read on accessor works ok 2 - exception thrown for bad value 1..2 ok t/30-integration/Return-Type/basic.t ...................... # Subtest: simple return type constraint # Subtest: scalar context ok 1 ok 2 1..2 ok 1 - scalar context # Subtest: list context ok 1 ok 2 1..2 ok 2 - list context 1..2 ok 1 - simple return type constraint # Subtest: more complex return type constraint # Subtest: scalar context ok 1 not ok 2 # TODO this seems to fail: error in Return::Type?? # Failed (TODO) test at t/30-integration/Return-Type/basic.t line 116. # got: undef # expected: anything else 1..2 ok 1 - scalar context # Subtest: list context ok 1 ok 2 1..2 ok 2 - list context 1..2 ok 2 - more complex return type constraint 1..2 ok t/30-integration/Sub-Quote/basic.t ........................ skipped: Test requires module 'Sub::Quote' but it's not found t/30-integration/Sub-Quote/unquote-coercions.t ............ skipped: Test requires module 'Sub::Quote' but it's not found t/30-integration/Sub-Quote/unquote-constraints.t .......... skipped: Test requires module 'Sub::Quote' but it's not found t/30-integration/Switcheroo/basic.t ....................... skipped: Test requires module 'Switcheroo' but it's not found t/30-integration/Type-Tie/basic.t ......................... # Subtest: tied scalar ok 1 ok 2 ok 3 1..3 ok 1 - tied scalar # Subtest: tied array ok 1 ok 2 ok 3 1..3 ok 2 - tied array # Subtest: tied hash ok 1 ok 2 ok 3 1..3 ok 3 - tied hash 1..3 ok t/30-integration/Validation-Class-Simple/archaic.t ........ ok 1 - 'can create a child type constraint from Validation::Class::Simple' isa 'Type::Tiny' ok 2 - Value "Hello" fails type constraint __ANON__ ok 3 - Reference {} fails type constraint __ANON__ ok 4 - Reference {"email" => "tobyink\@cpan.org","name" => "Toby","pass" => "...} fails type constraint __ANON__ ok 5 - Reference {"email" => "tobyink\@cpan.org","name" => "Toby","pass" => "...} passes type constraint __ANON__ ok 6 - Reference {"email" => "tobyink\@cpan.org","name" => "Toby ","pass" => ...} fails type constraint __ANON__ ok 7 - correct error message (A) ok 8 - correct error message (B) ok 9 - the type has a coercion ok 10 - ... which works 1..10 ok t/30-integration/Validation-Class-Simple/basic.t .......... ok 1 - 'can create a child type constraint from Validation::Class::Simple' isa 'Type::Tiny' ok 2 - Value "Hello" fails type constraint __ANON__ ok 3 - Reference {} fails type constraint __ANON__ ok 4 - Reference {"email" => "tobyink\@cpan.org","name" => "Toby","pass" => "...} fails type constraint __ANON__ ok 5 - Reference {"email" => "tobyink\@cpan.org","name" => "Toby","pass" => "...} passes type constraint __ANON__ ok 6 - Reference {"email" => "tobyink\@cpan.org","name" => "Toby ","pass" => ...} fails type constraint __ANON__ ok 7 - correct error message (A) ok 8 - correct error message (B) ok 9 - the type has a coercion ok 10 - ... which works 1..10 ok t/40-regression/73f51e2d.t ................................ ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 ok 29 ok 30 ok 31 ok 32 ok 33 ok 34 ok 35 ok 36 ok 37 ok 38 ok 39 ok 40 ok 41 ok 42 ok 43 ok 44 ok 45 ok 46 ok 47 ok 48 ok 49 ok 50 ok 51 ok 52 ok 53 ok 54 ok 55 ok 56 ok 57 ok 58 ok 59 ok 60 ok 61 ok 62 ok 63 ok 64 ok 65 ok 66 ok 67 ok 68 ok 69 ok 70 ok 71 ok 72 ok 73 ok 74 ok 75 ok 76 ok 77 ok 78 ok 79 ok 80 ok 81 ok 82 ok 83 ok 84 ok 85 ok 86 ok 87 ok 88 ok 89 ok 90 ok 91 ok 92 ok 93 ok 94 ok 95 ok 96 ok 97 ok 98 ok 99 ok 100 1..100 ok t/40-regression/gh1.t ..................................... ok 1 ok 2 - Reference bless( {"_e" => bless( [1], 'Math::BigInt::Calc' ),"_es" => ...) passes type constraint __ANON__ ok 3 - Value "0.5" fails type constraint __ANON__ 1..3 ok t/40-regression/rt85911.t ................................. ok 1 ok 2 1..2 ok t/40-regression/rt86004.t ................................. ok 1 - StrList ArrayRef ok 2 - StrList scalar ok 3 - StrList ArrayRef ok 4 - StrList scalar ok 5 - StrList ArrayRef - noninline ok 6 - StrList scalar - noninline 1..6 ok t/40-regression/rt86233.t ................................. ok 1 ok 2 ok 3 1..3 ok t/40-regression/rt86239.t ................................. # Test 1 ######## # got: foo ok 1 # Test 2 ######## # got: ok 2 # Test 3 ######## ok 3 # Test 4 ######## # got: { # 'foo' => 'foo' # } ok 4 # Test 5 ######## # got: {} ok 5 # Test 6 ######## ok 6 1..6 ok t/40-regression/rt90096-2.t ............................... ok 1 - check is still code ok 2 - slurpy check is still code 1..2 ok t/40-regression/rt90096.t ................................. 1..3 ok 1 ok 2 ok 3 ok t/40-regression/rt92571-2.t ............................... ok 1 1..1 ok t/40-regression/rt92571.t ................................. ok 1 ok 2 ok 3 1..3 ok t/40-regression/rt92591.t ................................. ok 1 - Type library, coercion target ok 2 - Type library, coercion type map ok 3 - Not type library, coercion target ok 4 - Not type library, coercion type map 1..4 ok t/40-regression/rt94196.t ................................. ok 1 - slurpy Dict w/ HasMethods 1..1 ok Devel::Hide hides Type/Tiny/XS.pm t/40-regression/rt97684.t ................................. ok 1 1..1 ok t/40-regression/rt98113.t ................................. ok 1 - Type::Tiny overload fallback works ok 2 - Type::Coercion overload fallback works 1..2 ok t/40-regression/ttxs-gh1.t ................................ ok 1 - Test TestDictionary 1..1 ok t/99-moose-std-types-test.t ............................... skipped: List::Util version 1.45 required--this is only version 1.43 at C:/cpanfly-5.22-32/var/megalib/Moose/Exporter.pm line 9. Test Summary Report ------------------- t/20-unit/Type-Parser/moosextypes.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/20-unit/Type-Registry/moosextypes.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/30-integration/Function-Parameters/basic.t (Wstat: 512 Tests: 2 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/30-integration/Moo/basic.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/30-integration/Moo/coercion-inlining-avoidance.t (Wstat: 512 Tests: 2 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/30-integration/Moo/coercion.t (Wstat: 512 Tests: 1 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/30-integration/Moo/exceptions.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/30-integration/Moo/inflation.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=151, Tests=1719, 56 wallclock secs ( 0.81 usr + 0.33 sys = 1.14 CPU) Result: FAIL Failed 8/151 test programs. 0/1719 subtests failed. dmake: Error code 255, while making 'test_dynamic' TOBYINK/Type-Tiny-1.000006.tar.gz dmake test TEST_VERBOSE=1 -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports TOBYINK/Type-Tiny-1.000006.tar.gz LNATION/MooX-ValidateSubs-0.06.tar.gz Has already been unwrapped into directory C:\cpanfly-5.22-32\var\tmp\cpan_build\MooX-ValidateSubs-0.06-sRE3Kp LNATION/MooX-ValidateSubs-0.06.tar.gz Has already been prepared Running make for L/LN/LNATION/MooX-ValidateSubs-0.06.tar.gz Warning: Prerequisite 'Type::Tiny => 1.000006' for 'LNATION/MooX-ValidateSubs-0.06.tar.gz' failed when processing 'TOBYINK/Type-Tiny-1.000006.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited. >>> dmake cp lib/MooX/ValidateSubs.pm blib\lib\MooX\ValidateSubs.pm cp lib/MooX/ValidateSubs/Role.pm blib\lib\MooX\ValidateSubs\Role.pm LNATION/MooX-ValidateSubs-0.06.tar.gz dmake -- OK Running make test >>> dmake test TEST_VERBOSE=1 "C:\Perl-5.22-32\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib\lib', 'blib\arch')" t/*.t # Failed test 'use MooX::ValidateSubs;' # at t/00-load.t line 11. # Tried to use 'MooX::ValidateSubs'. # Error: Can't locate Sub/Defer.pm in @INC (you may need to install the Sub::Defer module) (@INC contains: C:\cpanfly-5.22-32\var\tmp\cpan_build\MooX-ValidateSubs-0.06-sRE3Kp\blib\lib C:\cpanfly-5.22-32\var\tmp\cpan_build\MooX-ValidateSubs-0.06-sRE3Kp\blib\arch C:/cpanfly-5.22-32/var/megalib C:/cpanfly-5.22-32/var/megalib C:/Perl-5.22-32/site/lib C:/Perl-5.22-32/lib) at C:/cpanfly-5.22-32/var/megalib/Moo.pm line 146. # BEGIN failed--compilation aborted at t/00-load.t line 11. Bailout called. Further testing stopped: # Testing MooX::ValidateSubs 0.06, Perl 5.022001, C:\Perl-5.22-32\bin\perl.exe # Looks like you failed 1 test of 2. FAILED--Further testing stopped. dmake: Error code 129, while making 'test_dynamic' LNATION/MooX-ValidateSubs-0.06.tar.gz dmake test TEST_VERBOSE=1 -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports LNATION/MooX-ValidateSubs-0.06.tar.gz Finished 2017-03-16T02:06:57