Re: [Scheme-reports] programs and cond-expand
Michael Montague 24 Oct 2013 15:53 UTC
My reader includes location information when it reads identifiers and
quote strips all that out. I want that to be part of the tests and I
want to be able to test for specific errors. I will put more thought
into it and figure out a way to make my tests work in (chibi test).
On 10/24/2013 6:50 AM, John Cowan wrote:
> Michael Montague scripsit:
>
>> I looked at (chibi test) when I started writing tests, but I did not
>> see a way to test for syntax violations. For example, I wanted to
>> have test that (lambda (x x) x) raises an exception. If (chibi test)
>> can do that, I would happily switch to using it.
> (test-error (eval '(lambda (x x) x) (interaction-environment)))
>
_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports