Prismatic/schema — pull request #29 by bmabey (2013-10-02 21:27:15+00:00)
Title: fixes assert-iae, format now called properly and w/cljs friendly version

The macro was expanding out to (format ("foo")) before causing the String to be treated as a Fn. So any call to `assert-iae` was resulting in a different error when the assertion failed.

I started writing a test for the macro to prevent against regressions in (this commit)[https://github.com/bmabey/schema/commit/7b50d38777fd61c409c9d6bf92ea4c35a29548a3]. I was getting false-negatives on cljs so I didn't include it in the PR.