Hi,
Andreas Rottmann writes:
> Use this instead of #\foobar in the source text:
>
> (with-input-from-string "#\\foobar" read)
>
> This way, your source has legal syntax.
Yes, there are other examples of this in `readers.test'.
Thanks,
Ludo'.
On Wed, 2009-04-22 at 16:53 +0200, Andreas Rottmann wrote:
> Mike Gran writes:
> > (with-test-prefix "basic char handling"
> > (pass-if-exception "non-existent named character"
> > exception:read-error
> > #\foobar))
> >
> You have a syntax error in your source sc
Mike Gran writes:
> Hi-
>
> Here's a puzzle for you.
>
> I want to write a test for the test suite to catch a lexical syntax
> error, like the following non-existent named character. But I need to
> somehow introduce another layer of evaluation. In the following, Guile
> would tell me that my t
Hi-
Here's a puzzle for you.
I want to write a test for the test suite to catch a lexical syntax
error, like the following non-existent named character. But I need to
somehow introduce another layer of evaluation. In the following, Guile
would tell me that my test script has an error and then q