specific icon indicating copy to clipboard operation
specific copied to clipboard

Better error message when a generator can't satisfy a spec

Open benrady opened this issue 9 years ago • 0 comments

It would be nice to show the spec and the generator. Right now, you get this:

ERROR in (cik-lookup) (core.clj:4617) Uncaught exception, not in assertion. expected: nil actual: clojure.lang.ExceptionInfo: Couldn't satisfy such-that predicate after 100 tries. at clojure.core$ex_info.invokeStatic (core.clj:4617) clojure.core$ex_info.invoke (core.clj:4617) clojure.test.check.generators$such_that_helper.invokeStatic (generators.cljc:320)

benrady avatar Dec 12 '16 23:12 benrady