On Sat, Dec 4, 2010 at 7:34 PM, Barry Dahlberg wrote:
> Hi Clojurians,
>
> I have a macro which creates a function for me and I would like to add
> some unit tests using clojure.test. How can I create a temporary scope
> so that any functions defined during the test are undefined
> afterwards? Her
Hi Clojurians,
I have a macro which creates a function for me and I would like to add
some unit tests using clojure.test. How can I create a temporary scope
so that any functions defined during the test are undefined
afterwards? Here is a trivial example to illustrate:
(deftest my-def-macro-test