Skip to content

Commit d0492c5

Browse files
cfacoke
authored andcommitted
xt/link-checker.rakutest: check for the existence of a dir as well as .pod6 file
1 parent 0b21b1d commit d0492c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xt/link-checker.rakutest

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ sub is-valid-link($links) {
4949

5050
# Look in doc/ folder for this rakudoc file.
5151
@path.unshift: 'doc';
52-
my $path = @path.join('/') ~ '.pod6';
52+
my $path = @path.join('/');
5353

54-
ok $path.IO.e, "$link exists (primary)";
54+
ok ($path.IO.d or ($path ~ '.pod6').IO.e), "$link exists (primary)";
5555
}
5656
}
5757
}

0 commit comments

Comments
 (0)