From 5c093e6a4ae7ede43ddd29611c8e524960cbd2d0 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 2 Sep 2024 22:42:02 -0400 Subject: Improve test --- test/text.tm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test') 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 - -- cgit v1.2.3