Skip to content

Commit 094569f

Browse files
committed
Test matching unicode astral digits
1 parent 7a0d5e4 commit 094569f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

t/nqp/031-grammar.t

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Test grammars and regexes
44

5-
plan(14);
5+
plan(15);
66

77
grammar ABC {
88
token TOP { ok ' ' <integer> }
@@ -67,3 +67,5 @@ is(Uniprop.parse('½')<unum>, '½', 'uniprop');
6767
is(Uniprop.parse('1')<unum>, '', "uniprop - doesn't match");
6868
is(NotUniprop.parse('12')<unum>, '1', 'negated uniprop - matches');
6969
is(NotUniprop.parse('½')<unum>, '', "negated uniprop - doesn't match");
70+
71+
is(Uniprop.parse("\c[CUNEIFORM NUMERIC SIGN TWO ASH]")<unum>, "\c[CUNEIFORM NUMERIC SIGN TWO ASH]", 'astral unicode number');

0 commit comments

Comments
 (0)