Phillip Mates
Phillip Mates
I didn't know `deep-diff2` did that; it seems like a very cool and useful feature! I think this is definitely possible, especially given we have a notion of mismatch weights...
@lread I think https://github.com/nubank/matcher-combinators/pull/187 might cover the ideas you've listed here if you want to check it out
one suggestion by @gusbicalho is an annotation construct: ```clojure (match? (-> expected (reported-as "contents of foo.graphql")) (-> actual (reported-as "contents of tmp-file.graphql"))) ```
another option would be to limit the size of the `Expected: ` output at print time. Something like https://github.com/nubank/matcher-combinators/compare/expected-printing?expand=1# which would for ```clojure (is (match? [1 (m/not-matcher odd?) 3] [1...
I agree that omitting things like `:c 3` would be a useful, especially if it could be turned off / on by the user. I think I explored implementing this...
Here is a sketch of what I was thinking: https://github.com/nubank/matcher-combinators/compare/abbreviated-printing?expand=1 It seems to work in the limited cases that I tested I guess either one works; feels like introducing the...
The thing I'm a bit hung up on is the ergonomics of this. Ideally, if I want to use the feature, I shouldn't have to change source forms one by...
released an approach in 3.8.7 that can be enabled by calling `(matcher-combinators.config/enable-abbreviation!)`
Hey @dryewo thanks for reporting! We had a similar issue with `cider`'s test runner (https://github.com/clojure-emacs/cider/issues/2215). I imagine the solution to these issues will be more or less similar. Hope to...
@cursive-ide Any docs, source code, or tips on how I could integrate `cursive` with `matcher-combinators`? I'm not a user but many at my company are and so it would be...