fix a test
This commit is contained in:
parent
a5d4186c57
commit
03c7cfdc42
|
@ -100,8 +100,8 @@
|
||||||
(with-handlers ([void (lambda (exn) 'unbound)])
|
(with-handlers ([void (lambda (exn) 'unbound)])
|
||||||
(eval '#%car)))
|
(eval '#%car)))
|
||||||
(namespace-set-variable-value! 'hello 5)
|
(namespace-set-variable-value! 'hello 5)
|
||||||
(namespace-attach-module orig 'mzscheme)
|
(namespace-attach-module orig 'racket/base)
|
||||||
(namespace-require '(rename mzscheme #%top #%top))
|
(namespace-require '(rename racket/base #%top #%top))
|
||||||
(test 5 'empty-namespace (eval 'hello))
|
(test 5 'empty-namespace (eval 'hello))
|
||||||
(test #t 'top+hello (let ([s (namespace-mapped-symbols)])
|
(test #t 'top+hello (let ([s (namespace-mapped-symbols)])
|
||||||
(or (equal? s '(#%top hello))
|
(or (equal? s '(#%top hello))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user