X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FSub-Nary.git;a=blobdiff_plain;f=t%2F24-ops.t;h=f3f62f49337d65f48edab6aa609aab7a9993a0f7;hp=28e86e8f64d2b016a533bb5af23312d561b94ac7;hb=c38c23a2c58ba8368464423760768887bfc6731f;hpb=d3746e574d46fdfb258a4f3c76fb1534cba0c839 diff --git a/t/24-ops.t b/t/24-ops.t index 28e86e8..f3f62f4 100644 --- a/t/24-ops.t +++ b/t/24-ops.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::More tests => 32; +use Test::More tests => 34; use Sub::Nary; @@ -12,6 +12,9 @@ my $sn = Sub::Nary->new(); my ($x, %h); my @tests = ( + [ sub { delete $h{foo} }, 1 ], + [ sub { delete @h{qw/foo bar baz/} }, 3 ], + [ sub { return <$x> }, 'list' ], [ sub { -f $0, -r $0 }, 2 ],