summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/cram/test_basic.t3
-rw-r--r--tests/custom/04_modules/06_export_errors1
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/cram/test_basic.t b/tests/cram/test_basic.t
index 7308002..5911ac9 100644
--- a/tests/cram/test_basic.t
+++ b/tests/cram/test_basic.t
@@ -61,7 +61,8 @@ check that ucode provides exepected help:
-c[flag,flag,...]
Compile the given source file(s) to bytecode instead of executing them.
Supported flags: no-interp (omit interpreter line), interp=... (over-
- ride interpreter line with ...)
+ ride interpreter line with ...), dynlink=... (force import from ... to
+ be treated as shared extensions loaded at runtime).
-o path
Output file path when compiling. If omitted, the compiled byte code
diff --git a/tests/custom/04_modules/06_export_errors b/tests/custom/04_modules/06_export_errors
index 5c9f676..83227b1 100644
--- a/tests/custom/04_modules/06_export_errors
+++ b/tests/custom/04_modules/06_export_errors
@@ -10,6 +10,7 @@ export let x = 1;
-- Expect stderr --
Syntax error: Exports may only appear at top level of a module
+In line 1, byte 1:
`export let x = 1;`
^-- Near here