fix test case

The test committed previously wasn't the intended test.
This commit is contained in:
Matthew Flatt 2018-05-23 14:54:35 -06:00
parent 37dde6dc1e
commit 61a50fbf93

View File

@ -2611,11 +2611,14 @@ case of module-leve bindings; it doesn't cover local bindings.
(define-syntax (module-begin stx)
(syntax-case stx ()
[(_ a b)
#'(#%module-begin b)])))
(begin
(local-expand #'(#%module-begin a) 'module-begin null)
#'(#%module-begin b))])))
(module use (submod ".." mb)
(module* m racket/base)
(require (submod "." m ".."))))))
(require (submod "." m "..")))))
exn:fail?)
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;