aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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(" ")