aboutsummaryrefslogtreecommitdiff
path: root/test/tables.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-08-18 14:44:15 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-08-18 14:44:15 -0400
commitf4b04a1b8cd882e25fee592c819650c9b7e8566b (patch)
treedcecb8b4f83d569ebb00beb79988222d195b8f4c /test/tables.tm
parent04603308af3a2984d42eaa9e301cac0ffbded2a4 (diff)
Improved syntax for dollar-string literals
Diffstat (limited to 'test/tables.tm')
-rw-r--r--test/tables.tm4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tables.tm b/test/tables.tm
index d02a5272..7f8383d8 100644
--- a/test/tables.tm
+++ b/test/tables.tm
@@ -11,7 +11,7 @@ func main():
t_str := ""
for k,v in t:
- t_str ++= "({k}:{v})"
+ t_str ++= "($k:$v)"
>> t_str
= "(one:1)(two:2)"
@@ -42,7 +42,7 @@ func main():
t2_str := ""
for k,v in t2:
- t2_str ++= "({k}:{v})"
+ t2_str ++= "($k:$v)"
>> t2_str
= "(three:3)"