lambdaisland / kaocha

Full featured next gen Clojure test runner
https://cljdoc.org/d/lambdaisland/kaocha/1.0.861/doc/1-introduction
Eclipse Public License 1.0
792 stars 81 forks source link

deep-diff clojure-expectations' `:actual (not=` output format #437

Closed AlexChalk closed 2 months ago

AlexChalk commented 2 months ago

kaocha.report/print-expression requires (seq? (second (:actual m))) to be true to deep-diff output. This is true for clojure.test, which outputs :actual (not (=..., but not for clojure-expectations, whch outputs :actual (not=....

This PR modifies print-expression to accept and parse both output formats for deep-diffing.

Resolves https://github.com/lambdaisland/kaocha/issues/435

plexus commented 2 months ago

Released in v1.91.1392

[lambdaisland/kaocha "1.91.1392"]                 ;; deps.edn
{lambdaisland/kaocha {:mvn/version "1.91.1392"}}  ;; project.clj
plexus commented 2 months ago

Thanks a lot!

AlexChalk commented 2 months ago

Thanks for your help with this @plexus!