aboutsummaryrefslogtreecommitdiff
path: root/test/text.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-09-21 18:01:19 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-09-21 18:01:19 -0400
commit68bedd3c23757a8576e77f38e38ddcf9ecd26d19 (patch)
tree86ce1610143efc43453f50d3413925797601c48a /test/text.tm
parent0815de981c683cac7dbac082ee14c11894089f31 (diff)
Use colons instead of '=' for tables (e.g. {1: 2})
Diffstat (limited to 'test/text.tm')
-rw-r--r--test/text.tm2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/text.tm b/test/text.tm
index c12e7a78..6631b94e 100644
--- a/test/text.tm
+++ b/test/text.tm
@@ -127,7 +127,7 @@ func main()
assert "Hello".replace("ello", "i") == "Hi"
- assert "<tag>".translate({"<"="&lt;", ">"="&gt;"}) == "&lt;tag&gt;"
+ assert "<tag>".translate({"<": "&lt;", ">": "&gt;"}) == "&lt;tag&gt;"
assert "Abc".repeat(3) == "AbcAbcAbc"