diff --git a/collects/tests/drracket/module-lang-test.rkt b/collects/tests/drracket/module-lang-test.rkt index 7e708a4395..34d10dc4c7 100644 --- a/collects/tests/drracket/module-lang-test.rkt +++ b/collects/tests/drracket/module-lang-test.rkt @@ -85,7 +85,7 @@ #rx"first>") (test @t{(module m mzscheme (require (all-except mzlib/list foldl)))} @t{foldl} - #rx"[.] [.] reference to an identifier before its definition.*foldl") + #rx"[.] [.] foldl:.*cannot reference an identifier before its definition") (test @t{(module m mzscheme (require (prefix mz: mzscheme)))} @t{mz:+} #rx"procedure:[+]") @@ -106,7 +106,7 @@ ;; + shouldn't be bound in the REPL because it isn't bound in the module. (test @t{(module m (file @in-here{module-lang-test-tmp1.rkt}) x)} @t{+} - #rx"[.] [.] reference to an identifier before its definition.*[+]") + #rx"[.] [.] [+]:.*cannot reference an identifier before its definition") (test @t{(module m mzscheme (provide lambda))} @t{(lambda (x) x)} #rx"