X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FSub-Nary.git;a=blobdiff_plain;f=t%2F24-ops.t;h=b636cf847f3c297999e49a617498d89bf0cbe1e8;hp=9b7f97021740213766b1828f7a92b5d9aecde2ed;hb=fd35681c6f0a1e84d407dbe4fcc7a3c25e4d8851;hpb=93afac3588786704db6d9549d3bf469ba1b5598d 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 ],