summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-07-08 16:23:17 +0200
committerDaniel Weipert <git@mail.dweipert.de>2024-07-08 16:23:17 +0200
commita545cbab33e7ecc9ea36ad479fc32ec29a106e99 (patch)
tree3a51470ae6de84db2cde35ed6a2c78ee13ef4398 /test
parentb858cc223a936a522bb5f88065f6686489841955 (diff)
loop
Diffstat (limited to 'test')
-rw-r--r--test/test.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/test.test b/test/test.test
index af1bf76..24059ca 100644
--- a/test/test.test
+++ b/test/test.test
@@ -23,3 +23,14 @@ const map: [string][string or integer] = [
"third": "3",
"fourth": 4,
];
+
+for (array) |index, value| {
+ ply = value;
+}
+
+for (map) |key, value| {
+ ply = key;
+}
+
+std.str.format('cool %s', string)
+ |> print($);