aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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]