Re: assert raises

2008-09-25 Thread Allen Rohner
On Sep 25, 8:33 pm, Stuart Sierra <[EMAIL PROTECTED]> wrote: > Hi Allen, > Here's the result, which I just committed: Cool, thanks. Allen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to

Re: assert raises

2008-09-25 Thread Stuart Sierra
Hi Allen, Looks pretty good to me. I changed the name to "throws", which is short, at least. The (is :a :a) can be replaced by (count-assertion), which is public, even though the counter itself is private. I also added an extra (catch...) clause so that there's a failure if the form throws an e