aboutsummaryrefslogtreecommitdiff
path: root/test/text.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-03 01:20:36 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-03 01:20:36 -0400
commite98e77e1d3fbc2a5fd4d26408d2b13ddbef07110 (patch)
tree5fda9571d8a30d6a048305e7e811055eeb5b763e /test/text.tm
parent7b44044b5e96d5755c97470d121430e99cd7f990 (diff)
Fix for missing codepoint names
Diffstat (limited to 'test/text.tm')
-rw-r--r--test/text.tm9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/text.tm b/test/text.tm
index b1c4b758..4dd431ca 100644
--- a/test/text.tm
+++ b/test/text.tm
@@ -204,3 +204,12 @@ func main():
= "bcd"
>> "abcdef":slice(from=5, to=1)
= ""
+
+ >> house := "家"
+ = "家"
+ >> house.length
+ = 1
+ >> house:codepoint_names()
+ = ["???"]
+ >> house:utf32_codepoints()
+ = [23478_i32]