fix a test

This commit is contained in:
Matthew Flatt 2013-07-21 16:54:19 -06:00
parent a5d4186c57
commit 03c7cfdc42

View File

@ -100,8 +100,8 @@
(with-handlers ([void (lambda (exn) 'unbound)])
(eval '#%car)))
(namespace-set-variable-value! 'hello 5)
(namespace-attach-module orig 'mzscheme)
(namespace-require '(rename mzscheme #%top #%top))
(namespace-attach-module orig 'racket/base)
(namespace-require '(rename racket/base #%top #%top))
(test 5 'empty-namespace (eval 'hello))
(test #t 'top+hello (let ([s (namespace-mapped-symbols)])
(or (equal? s '(#%top hello))