$ops{stat} = 13;
$ops{caller} = sub { my @a = caller 0; scalar @a }->();
$ops{localtime} = do { my @a = localtime; scalar @a };
+$ops{gmtime} = do { my @a = gmtime; scalar @a };
sub enter {
my ($self, $cv) = @_;
use strict;
use warnings;
-use Test::More tests => 53;
+use Test::More tests => 54;
use Sub::Nary;
[ 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 } ],
+ [ sub { return gmtime }, do { my @a = gmtime; scalar @a } ],
);
my $i = 1;
use strict;
use warnings;
-use Test::More tests => 39;
+use Test::More tests => 40;
use Sub::Nary;
[ sub { stat $0 }, 13 ],
[ sub { caller 0 }, sub { my @a = caller 0; scalar @a }->() ],
[ sub { localtime }, do { my @a = localtime; scalar @a } ],
+ [ sub { gmtime }, do { my @a = gmtime; scalar @a } ],
);
my $i = 1;