summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-07-05 20:22:39 +0200
committerJo-Philipp Wich <jo@mein.io>2021-07-11 15:49:14 +0200
commit2f77657ae97f84edcd665c4cfe00ef91b9cde1bc (patch)
treebc786e60d2a743310f037a8bff595c9252011887 /tests
parent111645aa965717adb40604e53d0bab07e25c1b27 (diff)
vm: extend API to allow returning result value from VM execution
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/cram/test_basic.t6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/cram/test_basic.t b/tests/cram/test_basic.t
index aab5b16..d866c49 100644
--- a/tests/cram/test_basic.t
+++ b/tests/cram/test_basic.t
@@ -38,15 +38,13 @@ check that ucode provides proper error messages:
$ ucode -m foo -s ' '
Runtime error: No module named 'foo' could be found
- At start of program
- [1]
+ [254]
$ touch moo; ucode -m foo -i moo
Runtime error: No module named 'foo' could be found
- At start of program
- [1]
+ [254]
check that ucode can load fs module: