X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FFunction-Parameters.git;a=blobdiff_plain;f=t%2Ftypes_custom_3.t;fp=t%2Ftypes_custom_3.t;h=ac61f6d14f4ecb7cfaa119902ef075d25a242520;hp=769ce0efa688369b414e05e305bbacd823142b12;hb=f7651a6e5b18523fd6e00f809a8c40dd0127251a;hpb=35cd137a802eb7c4e3838043d407bf55ee93dfc4 diff --git a/t/types_custom_3.t b/t/types_custom_3.t index 769ce0e..ac61f6d 100644 --- a/t/types_custom_3.t +++ b/t/types_custom_3.t @@ -15,7 +15,7 @@ use Test::More tests => 8; use Function::Parameters { fun => { - check_argument_count => 1, + strict => 1, reify_type => sub { my ($type, $package) = @_; if ($package ne $type) {