X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FSub-Nary.git;a=blobdiff_plain;f=t%2F21-list.t;h=af3af50d4d9b0e50133031e71ab78e4708725675;hp=56c06f3a7d03062a95f9907f3216f7a0ba0ccbb2;hb=24e9267d88e3b5d49961e061b974562c55876c4d;hpb=24a8dd6910b767ae90c3577ba31458dda30888e5 diff --git a/t/21-list.t b/t/21-list.t index 56c06f3..af3af50 100644 --- a/t/21-list.t +++ b/t/21-list.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::More tests => 38; +use Test::More tests => 39; use Sub::Nary; @@ -61,6 +61,8 @@ my @tests = ( [ sub { <$x> }, 'list' ], + [ sub { -f $0, -r $0 }, 2 ], + [ sub { stat $0 }, 13 ], [ sub { caller 0 }, sub { my @a = caller 0; scalar @a }->() ], [ sub { localtime }, do { my @a = localtime; scalar @a } ],