summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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($);