X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fforeign%2FMethod-Signatures%2Fattributes.t;fp=t%2Fforeign%2FMethod-Signatures%2Fattributes.t;h=784c07524590ecdc02a3fb13c1e2cf6b59778f00;hb=1a52f2db46f6d870454428a07bfae09e0359eeee;hp=71e11ce163fb957072f1a6b8bf05129f7ebf1612;hpb=ff265988561375d3cf480004e29e3891094c0afb;p=p5sagit%2FFunction-Parameters.git diff --git a/t/foreign/Method-Signatures/attributes.t b/t/foreign/Method-Signatures/attributes.t index 71e11ce..784c075 100644 --- a/t/foreign/Method-Signatures/attributes.t +++ b/t/foreign/Method-Signatures/attributes.t @@ -22,6 +22,17 @@ use attributes; { + package Foo; + + use Test::More; + use Function::Parameters qw(:strict); + + my $code = fun () : method {}; + is_deeply( [attributes::get $code], ['method'] ); +} + + +{ package Things; use Function::Parameters qw(:strict);