summaryrefslogtreecommitdiff
path: root/test/script
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2026-04-25 13:46:40 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2026-05-17 21:54:23 +0200
commitd41cc2a1cdf9fc7a9d5781779363b9bb3eb82c00 (patch)
treee2c7555cbf2be5981b805c459861e5834d31b23f /test/script
parent0d2b55b41a8f38264fd510efd4c1306239c94d17 (diff)
Concat builtin function
Changelog: Added `concat` function for lists
Diffstat (limited to 'test/script')
-rw-r--r--test/script/list.et16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/script/list.et b/test/script/list.et
new file mode 100644
index 0000000..8dcb4a8
--- /dev/null
+++ b/test/script/list.et
@@ -0,0 +1,16 @@
+module list
+
+asset scripts:
+ path: ../asset/list
+
+
+test ListConcat:
+ spawn as p
+ with p:
+ send "load ${scripts.path}/concat.et"
+ expect /load-done/
+
+ send "run Test"
+ local:
+ expect /(run-.*)/ capture done
+ guard (done == "run-done")