summaryrefslogtreecommitdiff
path: root/test/asset/run
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2025-09-15 21:10:39 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2025-09-19 19:44:28 +0200
commit89ed9a3a6c0ada2b1c252a5e24283b84eb0fa4c8 (patch)
tree5ba8a271690d43bab73fd4c86ff2702ca8afce45 /test/asset/run
parent77fdc01b6dfa6f497ed80a46c51e227ca9bdaeed (diff)
Add timeout argument for the ‘expect’ command
Changelog: Added `timeout` argument for the `expect` command
Diffstat (limited to 'test/asset/run')
-rw-r--r--test/asset/run/callstack.et7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/asset/run/callstack.et b/test/asset/run/callstack.et
index 954b9ad..f500fb6 100644
--- a/test/asset/run/callstack.et
+++ b/test/asset/run/callstack.et
@@ -1,3 +1,8 @@
-test A:
+test AG:
let x = 1
guard (x == 0)
+
+test AE:
+ spawn as p
+ let x = 2
+ expect /$x/ from p timeout 0.0