aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-03 00:54:48 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-03 00:54:48 -0400
commit5441e6f287608f4998d85cc39652ce1adaebb6a1 (patch)
treec8f624b5357b7f334fde4921105e7e00eb1d2e79 /test
parent3df85ee6d8e26c6d69544be3352239c63108a554 (diff)
Update docs
Diffstat (limited to 'test')
-rw-r--r--test/text.tm3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/text.tm b/test/text.tm
index afd0305a..b1c4b758 100644
--- a/test/text.tm
+++ b/test/text.tm
@@ -119,7 +119,6 @@ func main():
>> c == Text.from_bytes(c:utf8_bytes())
= yes
-
>> "one$(\n)two$(\n)three":lines()
= ["one", "two", "three"]
>> "one$(\n)two$(\n)three$(\n)":lines()
@@ -128,6 +127,8 @@ func main():
= ["one", "two", "three", ""]
>> "one$(\r\n)two$(\r\n)three$(\r\n)":lines()
= ["one", "two", "three"]
+ >> "":lines()
+ = []
//! Test splitting and joining text:
>> "one two three":split(" ")