hyperfiddle / rcf

RCF – a REPL-first, async test macro for Clojure/Script
MIT License
279 stars 12 forks source link

`expected: :cljs.spec.alpha/invalid` `actual: :cljs.spec.alpha/invalid` #55

Open rgkirch opened 2 years ago

rgkirch commented 2 years ago

May be related to https://github.com/hyperfiddle/rcf/issues/27.

(s/def ::my-spec
  (s/conformer (fn [_] ::s/invalid)
               (fn [_])))
(tests
 "test my spec"
 (s/conform ::my-spec "") := ::s/invalid)
test my spec
in (s/conform :app.renderer.ui14/my-spec "")
expected: :cljs.spec.alpha/invalid
  actual: :cljs.spec.alpha/invalid