Skip to content

Commit aa77b3f

Browse files
committed
1 parent 08d74fa commit aa77b3f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/tests/units/module-test.r3

+11
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,17 @@ supplement system/options/module-paths join what-dir %units/files/
8585
--assert 1 = select m 'a
8686
--assert none? select m 'b
8787

88+
--test-- "path notation access"
89+
;@@ https://github.com/Oldes/Rebol-issues/issues/1007
90+
m: module [] [a: 1 2]
91+
--assert 1 = m/a
92+
unset 'a
93+
m: module [exports: [a]] [a: 1 2]
94+
--assert 1 = m/a
95+
--assert unset? :a
96+
import m
97+
--assert 1 = :a
98+
unset 'a
8899

89100
===end-group===
90101

0 commit comments

Comments
 (0)