]> git.vpit.fr Git - perl/modules/Sub-Nary.git/blobdiff - t/21-list.t
stat() can also return no arguments if the file can't be found. Hopefully, our %ops...
[perl/modules/Sub-Nary.git] / t / 21-list.t
index af3af50d4d9b0e50133031e71ab78e4708725675..4f973586ab13bba9390c0a2d48f2eaef97bdae9e 100644 (file)
@@ -63,9 +63,9 @@ my @tests = (
 
  [ 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 } ],
+ [ sub { gmtime },    do { my @a = gmtime; scalar @a } ],
 );
 
 my $i = 1;