aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-02 22:42:02 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-02 22:42:02 -0400
commit5c093e6a4ae7ede43ddd29611c8e524960cbd2d0 (patch)
treea8f6d80e5b6c8e58142b57db9833c7d5e0cb87ac
parent970f7a87caf7abd14d31a5bce60c3212f8f113e8 (diff)
Improve test
-rw-r--r--test/text.tm5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/text.tm b/test/text.tm
index 05763723..2d386048 100644
--- a/test/text.tm
+++ b/test/text.tm
@@ -104,8 +104,10 @@ func main():
>> $(one (nested) two $(1+2))
= "one (nested) two 3"
-
>> "one two three":replace("[..alpha]", "")
+ = " "
+ >> "one two three":replace("[..alpha]", "word")
+ = "word word word"
>> c := "É̩"
>> c:codepoint_names()
@@ -117,4 +119,3 @@ func main():
>> c == Text.from_bytes(c:utf8_bytes())
= yes
-