Heh not macro, I meant multimethod. Here is the macro that seems to work, any improvements much appreciated ;) > This fails when no error is raised, when the wrong error type is raised, and > I believe it's captures errors which are derived but not the exact error (is > this a weird behavior?). Your previous post about error-kit got me on the > right track. I can now define test cases like so: >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---