X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FFunction-Parameters.git;a=blobdiff_plain;f=t%2Fforeign%2FMethod-Signatures-Simple%2F03-config.t;h=5ca4b9ebbfee7005e0eec680bf17d7dcca61c81a;hp=ba9e5304c8d6fde1da23d7d7047cd68769997955;hb=f7651a6e5b18523fd6e00f809a8c40dd0127251a;hpb=35cd137a802eb7c4e3838043d407bf55ee93dfc4 diff --git a/t/foreign/Method-Signatures-Simple/03-config.t b/t/foreign/Method-Signatures-Simple/03-config.t index ba9e530..5ca4b9e 100644 --- a/t/foreign/Method-Signatures-Simple/03-config.t +++ b/t/foreign/Method-Signatures-Simple/03-config.t @@ -10,8 +10,8 @@ use Test::More tests => 3; use Function::Parameters; use Function::Parameters { - action => { shift => '$monster', invocant => 1 }, - constructor => { shift => '$species', invocant => 1 }, + action => { defaults => 'method', shift => '$monster' }, + constructor => { defaults => 'method', shift => '$species' }, function => 'function', };