This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-07-08
Channels
- # beginners (76)
- # boot (13)
- # cider (3)
- # clara (7)
- # cljs-dev (254)
- # cljsrn (5)
- # clojure (20)
- # clojure-austin (2)
- # clojure-chicago (4)
- # clojure-dev (7)
- # clojure-russia (5)
- # clojure-spec (18)
- # clojurescript (68)
- # cursive (8)
- # datascript (3)
- # datomic (8)
- # garden (1)
- # hoplon (3)
- # lambdaisland (4)
- # luminus (20)
- # mount (19)
- # off-topic (30)
- # om (10)
- # onyx (8)
- # parinfer (14)
- # precept (7)
- # reagent (9)
- # unrepl (3)
- # untangled (72)
- # vim (4)
- # yada (1)
Is the file/line/col of spec definitions stored anywhere, as they are for vars when the latter are read? It’d be nice to have that information so we can jump to a spec’s definition.
@xiongtx there has been some plan for that if I remember correctly, unfortunately I cannot find the reference (I think it was exactly in this channel)
How can I use the result of clojure.spec.test/check
to see if a test failed? The doc seems to hint at checking the value of the :failure
key, but that value is false in my test despite there being a clear check error
@jsselman is it false
or [false]
?
what's the full return?
the value under [:clojure.test.check/ret :result]
should work
I have no idea what the failure key is meant to mean
@gfredericks that does work, thanks!