"file1.rkt"(provide foo)(define (foo) (error "hello"))"file2.rkt"(require plai "file1.rkt")(test/exn (foo) "hello")
Just a quick look, but it looks like you're failing to thunk the arguments to test/exn, so it never even gets control.
John
-Eric
> _________________________________________________
> For list-related administrative tasks:
> http://lists.racket-lang.org/listinfo/users
>
_________________________________________________
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/users
> Also IIRC test/exn only works on errors raised using 'error' from
> PLAI, which is different from 'error' from racket/base.
Ooh, just saw that this was test/exn, not check/exn. I retract my hasty comment!
John
Jay
--
Jay McCarthy <j...@cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay
"The glory of God is Intelligence" - D&C 93
http://docs.racket-lang.org/plai/plai-scheme.html?q=error#(def._((lib._plai/main..rkt)._error))
Is there some other place you would expect it to be?
(It does need some scheme->racket cleanup though)
-Eric