Skip to content

Commit 9292ce5

Browse files
committed
Refactor to turn into a single test
And maybe it should be merged into another file to make tests a bit faster.
1 parent 028cc3e commit 9292ce5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

t/pod6.t

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@ if @*ARGS {
1616
}
1717
}
1818

19-
plan +@files;
19+
my @pod-only-files = @files.grep( {/ '.pod' $/} ) ;
20+
plan 1;
21+
is @pod-only-files.elems, 0, "no .pod files, only .pod6" ;
2022

21-
for @files -> $file {
22-
ok !($file ~~ / '.pod' $/), "no .pod files, only .pod6";
23-
}
2423

2524
# vim: expandtab shiftwidth=4 ft=perl6

0 commit comments

Comments
 (0)