File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ supplement system/options/module-paths join what-dir %units/files/
27
27
]
28
28
29
29
--test-- "export"
30
+ ;-- Note: using tests against user's context, because the unit tests are called using `wrap` which
31
+ ;-- callects and binds all set-words used in modules code bellow and so values are not imported.
30
32
;@@ https://github.com/Oldes/Rebol-issues/issues/689
31
33
;@@ https://github.com/Oldes/Rebol-issues/issues/1446
32
34
unset in system/contexts/user 'a
@@ -89,13 +91,13 @@ supplement system/options/module-paths join what-dir %units/files/
89
91
;@@ https://github.com/Oldes/Rebol-issues/issues/1007
90
92
m: module [] [a: 1 2 ]
91
93
--assert 1 = m/a
92
- unset 'a
94
+ unset in system /contexts/user 'a
93
95
m: module [exports: [a]] [a: 1 2 ]
94
96
--assert 1 = m/a
95
- --assert unset? :a
97
+ --assert unset? : system /contexts/user/ a
96
98
import (m)
97
- --assert 1 = :a
98
- unset 'a
99
+ --assert 1 = : system /contexts/user/ a
100
+ unset in system /contexts/user 'a
99
101
100
102
===end-group===
101
103
You can’t perform that action at this time.
0 commit comments