Skip to content

Commit f7a524d

Browse files
committed
also test .md files
1 parent 5e47aad commit f7a524d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

xt/space-after-comma.t

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if @*ARGS {
1414
@files = @*ARGS;
1515
} else {
1616
for qx<git ls-files>.lines -> $file {
17-
next unless $file ~~ / '.' ('pod6') $/;
17+
next unless $file ~~ / '.' ('pod6'|'md') $/;
1818
next if $file ~~ / 'contributors.pod6' $/; # names are hard.
1919
push @files, $file;
2020
}
@@ -53,6 +53,7 @@ for @files -> $file {
5353
$line ~~ s:g/ '"a,b"' //;
5454
$line ~~ s:g/ '($var,)' //;
5555
$line ~~ s:g/ '(3,)' //;
56+
$line ~~ s:g/ << 'thing,category' >> //;
5657

5758
if $line ~~ / ',' [ <!before ' '> & <!before $> ] / {
5859
diag "Failure on line `$line-orig`";

0 commit comments

Comments
 (0)