aboutsummaryrefslogtreecommitdiff
path: root/test/text.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-09-06 15:11:26 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-09-06 15:11:26 -0400
commitfb216e955f04a803f11953be27e76bd4d2c9e76d (patch)
treede2c471c5416ec2ee490bdb33f5e3e202d94675a /test/text.tm
parent73246764f88f6f652316ee0c138a990d836698a7 (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 ff55555d..93a1f2a8 100644
--- a/test/text.tm
+++ b/test/text.tm
@@ -203,7 +203,7 @@ func main()
>> "Hello".replace("ello", "i")
= "Hi"
- >> "<tag>".translate({"<"="&lt;", ">"="&gt;"})
+ >> "<tag>".translate({"<": "&lt;", ">": "&gt;"})
= "&lt;tag&gt;"
>> "Abc".repeat(3)