Skip to content

Commit

Permalink
Add test for Unicode 15.1
Browse files Browse the repository at this point in the history
Doesn't actually change anything, apart from when MoarVM supports
Unicode 15.1, then no changes will be needed here anymore.

Test based on the fact that 15.1 added a

    CJK Unified Ideographs Extension I

block (range 2EBF0..2EE5F) as described on

    https://www.unicode.org/versions/Unicode15.1.0/
  • Loading branch information
lizmat committed Oct 29, 2023
1 parent 688b625 commit bd53ad2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core.c/Unicode.rakumod
Expand Up @@ -38,6 +38,7 @@ my class Unicode {
'13.0' => 0x1F972.chr,
'14.0' => 0x061D.chr,
'15.0' => 0x0CF3.chr,
'15.1' => 0x2EE5F.chr,
# PLEASE ADD NEWER UNICODE VERSIONS HERE, AS SOON AS THE UNICODE
# CONSORTIUM HAS RELEASED A NEW VERSION
).first(*.value.uniprop('Age') ne 'Unassigned', :end).key.Version;
Expand Down

0 comments on commit bd53ad2

Please sign in to comment.