mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-22 18:19:54 -04:00
MAINT: Slight tweak to the import test.
Demonstrate that you don't have to use parens to get a val from the import expression.
This commit is contained in:
parent
3cfed0d0e1
commit
e2ab14f23d
@ -8,7 +8,7 @@ assert {
|
|||||||
desc = "include path worked from an imported module",
|
desc = "include path worked from an imported module",
|
||||||
};
|
};
|
||||||
|
|
||||||
let imported = (import "./libs/test_import.ucg").val;
|
let imported = import "./libs/test_import.ucg".val;
|
||||||
|
|
||||||
assert {
|
assert {
|
||||||
ok = imported == test_mod.imported,
|
ok = imported == test_mod.imported,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user