[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] programs and cond-expand

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