Skip to content

Commit

Permalink
fix int set construction (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
bung87 committed Dec 15, 2022
1 parent 7d3b449 commit 1d24935
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/tests.nim
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ test "Test Word":
unicodeCategory(cp.Rune) in ctgLt+ctgLm+ctgLo+ctgNl or
unicodeCategory(cp.Rune) in ctgMn+ctgMc+ctgSo or
# Join_Control
cp in {0x200C .. 0x200D})
cp in 0x200C .. 0x200D)
# No idea how to derive Other_Alphanumeric,
# but this is good enough
if (unicodeCategory(cp.Rune) in ctgPc+ctgMn+ctgMc+ctgMe or
Expand All @@ -403,7 +403,7 @@ test "Test Word":
unicodeCategory(cp.Rune) in ctgLt+ctgLm+ctgLo+ctgNl or
#category(cp) in ["Mn", "Mc", "So"] or
# Join_Control
cp in {0x200C .. 0x200D}):
cp in 0x200C .. 0x200D):
check utmWord in unicodeTypes(cp.Rune)

test "Test Width":
Expand Down

0 comments on commit 1d24935

Please sign in to comment.