X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F24-ops.t;h=b636cf847f3c297999e49a617498d89bf0cbe1e8;hb=f73405816c83f0e2816e81421a8b6cf72d5e3151;hp=9b7f97021740213766b1828f7a92b5d9aecde2ed;hpb=3271ef4bff5871bc6aa2d90537f97f177cbacc2a;p=perl%2Fmodules%2FSub-Nary.git diff --git a/t/24-ops.t b/t/24-ops.t index 9b7f970..b636cf8 100644 --- a/t/24-ops.t +++ b/t/24-ops.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::More tests => 48; +use Test::More tests => 49; use Sub::Nary; @@ -47,6 +47,7 @@ my @tests = ( [ sub { delete @h{qw/foo bar baz/} }, 3 ], [ sub { grep { 1 } 1 .. 10 }, 'list' ], + [ sub { grep { 1 } @_ }, 'list' ], [ sub { map { $_ } 1 .. 3 }, 3 ], [ sub { map { () } @_ }, 0 ],