diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-08-07 00:24:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-07 00:24:53 +0200 |
commit | d0ae9106307343298c926ed065c19609aa37a001 (patch) | |
tree | 1ccab2a62017db277b5de73e0ce6a4ed93aa751a /tests | |
parent | f1e393873a17571ada80c189fbedef020d89cdad (diff) | |
parent | fcc49e6944ab29ab48e8363d2d72e9ca10d3fb76 (diff) |
Merge pull request #98 from jow-/dynlink-support
Add import statement support for dynamic extensions
Diffstat (limited to 'tests')
-rw-r--r-- | tests/cram/test_basic.t | 3 | ||||
-rw-r--r-- | tests/custom/04_modules/06_export_errors | 1 |
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 |