Closed philomates closed 2 years ago
it which transforms the actual data-structure before applying the expected matcher.
actual
expected
For example, it allows one to match a nested string as an clojure map:
(is (match? {:payloads [(m/via read-string {:foo :bar})]} {:payloads [\"{:foo :bar}\"]}))
(additional context in #148 and #175)
also bump midje and remove now unneeded io.aviso/pretty version pinning
io.aviso/pretty
I think I like via, and this has been a long time coming. Impl/tests look great. I say let's do it, but I'll engage some more eyes first ...
via
Released in matcher-combinators-3.6.0
matcher-combinators-3.6.0
Thanks @philomates !!!!!!
it which transforms the
actual
data-structure before applying theexpected
matcher.For example, it allows one to match a nested string as an clojure map:
(additional context in #148 and #175)
also bump midje and remove now unneeded
io.aviso/pretty
version pinning