Thanks.

On Jul 30, 2012, at 12:16 PM, David Van Horn <dvanh...@ccs.neu.edu> wrote:

> check-exn should take a thunk as the second argument.  I think you want:
> 
> (test-begin
> (define x (new grid%))
> (check-exn exn:fail?
>            (lambda ()
>              (send x set-cell! 1 1 1)
>              (send x set-cell! 1 2 1))))
> 
> David

____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to