diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/text.tm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/text.tm b/test/text.tm index 150bc31f..05763723 100644 --- a/test/text.tm +++ b/test/text.tm @@ -103,3 +103,18 @@ func main(): = "A 3" >> $(one (nested) two $(1+2)) = "one (nested) two 3" + + + >> "one two three":replace("[..alpha]", "") + + >> c := "É̩" + >> c:codepoint_names() + = ["LATIN CAPITAL LETTER E WITH ACUTE", "COMBINING VERTICAL LINE BELOW"] + >> c == Text.from_codepoint_names(c:codepoint_names()) + = yes + >> c == Text.from_codepoints(c:utf32_codepoints()) + = yes + >> c == Text.from_bytes(c:utf8_bytes()) + = yes + + |
