aboutsummaryrefslogtreecommitdiff
path: root/test/text.tm
diff options
context:
space:
mode:
Diffstat (limited to 'test/text.tm')
-rw-r--r--test/text.tm2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/text.tm b/test/text.tm
index 6631b94e..094da8f8 100644
--- a/test/text.tm
+++ b/test/text.tm
@@ -57,6 +57,8 @@ func main()
assert "xxxx".replace("x", "") == ""
assert "xxxx".replace("y", "") == "xxxx"
assert "One two three four five six".replace("e ", "") == "Ontwo threfour fivsix"
+ assert "Hello".replace("", "xxx") == "Hello"
+ assert "".replace("", "xxx") == ""
assert amelie.has(amelie2) == yes