Skip to content

Commit 987f600

Browse files
committed
Allow more unicode-specific variances.
1 parent 7bfc6a8 commit 987f600

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

xt/word-variants.t

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ my %variants = %( filehandle => 'file [\s+|\-] handle',
2020
lookahead => 'look \- ahead',
2121
lookbehind => 'look [\s+|\-] behind',
2222
smartmatch => 'smart [\s+|\-] match',
23-
zero-width => 'zero \s+ width<!before \' joiner\'>',
23+
zero-width => 'zero \s+ width<!before \' joiner\'><!before \' no-break space\'>',
2424
NYI => 'niy',
2525
metaoperator => 'meta [\s+|\-] operator',
2626
semicolon => 'semi [\s+|\-] colon',
2727
);
28+
# zero-width in particular has several unicode documentation variants we allow
29+
2830
plan +@files;
2931

3032
for @files.sort -> $file {

0 commit comments

Comments
 (0)