]> git.vpit.fr Git - perl/modules/Sub-Nary.git/blobdiff - t/21-list.t
Test some filestat operators
[perl/modules/Sub-Nary.git] / t / 21-list.t
index 56c06f3a7d03062a95f9907f3216f7a0ba0ccbb2..af3af50d4d9b0e50133031e71ab78e4708725675 100644 (file)
@@ -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 } ],