use strict;
use warnings;
-use Test::More tests => 52;
+use Test::More tests => 53;
use Sub::Nary;
[ sub { return <$x> }, 'list' ],
+ [ sub { return -f $0, -r $0 }, 2 ],
+
[ sub { return stat $0 }, 13 ],
[ sub { return caller 0 }, sub { my @a = caller 0; scalar @a }->() ],
[ sub { return localtime }, do { my @a = localtime; scalar @a } ],
use strict;
use warnings;
-use Test::More tests => 38;
+use Test::More tests => 39;
use Sub::Nary;
[ 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 } ],