Skip to content

Commit 00231c8

Browse files
committed
Don't complain about duplicate numbers
1 parent 9f2a911 commit 00231c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

xt/duplicates.t

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ sub test-it(Str $output, Str $file) {
5656
next if $safe-dupes ~$dupe[0];
5757
# Single characters that are probably fine
5858
next if $dupe ~~ /^ [<:Sm>|<:CS>] $/;
59+
# Ignore numbers
60+
next if $dupe ~~ /^ \d+ $/;
5961
@dupes.push: "" ~ $dupe[0] ~ "” on line $line-num";
6062
}
6163
}

0 commit comments

Comments
 (0)