Fork me on GitHub
#clojure-spec
<
2022-05-09
>
nodename23:05:25

When I pull the problems from an exception that I receive from spec when running a test, sometimes I see :pred nil? and sometimes I see

:pred #object[clojure.core$nil_QMARK_
                0x5c45bb7f
                "clojure.core$nil_QMARK_@5c45bb7f"
This is making it hard to write the test properly. Any thoughts? Or is there a better way to check that a certain test results in a certain set of problems?

Alex Miller (Clojure team)23:05:53

can you share any more info?

Alex Miller (Clojure team)23:05:37

the intention is to return nil? there