[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Testing errors from macros with ERT and byte-compilation
From: |
David Engster |
Subject: |
Re: Testing errors from macros with ERT and byte-compilation |
Date: |
Sun, 18 Aug 2013 21:13:18 +0200 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) |
Glenn Morris writes:
> How does it work now?
The test suite upstream is not using ERT, but a lot of `condition-case'.
> Or use something like:
>
> (ert-deftest eieio-broken-initform ()
> (should-error
> (eval '(defclass broken-init nil
> I feel I don't really understand what the problem is (I'm saying that a
> lot today, maybe it's me...).
Don't worry, it's me. I didn't think of 'eval'; that's exactly what I
was looking for.
-David