diff --git a/doc/Type/IO/Path.pod6 b/doc/Type/IO/Path.pod6 index 0bd1188db..ca278bdfd 100644 --- a/doc/Type/IO/Path.pod6 +++ b/doc/Type/IO/Path.pod6 @@ -560,8 +560,8 @@ you can) to do a filetest. You can simply append C<.IO> to the filename. For instance, here is how to check if a file is readable using smartmatch: C<'/path/to/file'.IO ~~ :r> -You can, of course, use an already opened filehandle. Here, using the file -handle C<$fh>, is an example, using the method syntax for the file test: +You can, of course, use an already opened filehandle. Here, using the filehandle +C<$fh>, is an example, using the method syntax for the file test: $fh.r diff --git a/xt/word-variants.t b/xt/word-variants.t index 9d65fe9ad..d233fbf84 100755 --- a/xt/word-variants.t +++ b/xt/word-variants.t @@ -14,6 +14,7 @@ Insure any text that mentions Perl uses a no-break space after it. my @files = Test-Files.pods; my %variants = %( filehandle => rx/file [\s+|\-] handle/, + filesystem => rx/file [\s+|\-] system/, runtime => rx/run [\s+|\-] time/, shorthand => rx/short [\s+|\-] hand/, lookahead => rx/look \- ahead/,