aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
-