aboutsummaryrefslogtreecommitdiff
path: root/test/text.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-01-12 16:49:58 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-01-12 16:49:58 -0500
commit645d66e0de0f201404d9ad4b210f90c139a247ff (patch)
tree08367c3631b928752cde94083bdfe2ae49db0b79 /test/text.tm
parentb025cf269d2e07e179be4a0e34d936862dc640c2 (diff)
Change table syntax to `{key=value}` and `{:K,V}`/`{K,V}`
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 13ee2a3b..9edeee07 100644
--- a/test/text.tm
+++ b/test/text.tm
@@ -241,7 +241,7 @@ func main():
>> " foo(xyz) foo(yyy) foo(z()) ":replace($/foo(?)/, "baz(\1)")
= " baz(xyz) baz(yyy) baz(z()) "
- >> "<tag>":replace_all({$/</:"&lt;", $/>/:"&gt;"})
+ >> "<tag>":replace_all({$/</="&lt;", $/>/="&gt;"})
= "&lt;tag&gt;"
>> " BAD(x, fn(y), BAD(z), w) ":replace($/BAD(?)/, "good(\1)", recursive=yes)