X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Ftypes_custom_2.t;h=d8d6d1f55d15a09814f64082d3cc900b1184e65b;hb=5424bb4a885554829b311cceb8a44822d7bab1c0;hp=fa8ec06db0da02425bf01995f4be86dc2e59a1e5;hpb=11305599a59b5a00d111f396f2b651577a90b80a;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} }, }, }