X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Ftypes_custom_2.t;h=d8d6d1f55d15a09814f64082d3cc900b1184e65b;hb=f7651a6e5b18523fd6e00f809a8c40dd0127251a;hp=fa8ec06db0da02425bf01995f4be86dc2e59a1e5;hpb=35cd137a802eb7c4e3838043d407bf55ee93dfc4;p=p5sagit%2FFunction-Parameters.git diff --git a/t/types_custom_2.t b/t/types_custom_2.t index fa8ec06..d8d6d1f 100644 --- a/t/types_custom_2.t +++ b/t/types_custom_2.t @@ -44,7 +44,7 @@ use Function::Parameters do { ); +{ fun => { - check_argument_count => 1, + strict => 1, reify_type => sub { $Types{ $_[0] } || $Types{Any} }, }, }