diff --git a/CHANGELOG.md b/CHANGELOG.md index 56cab39f3..556748acc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## master (unreleased) +### New features + +* [#546](https://github.com/clojure-emacs/cider-nrepl/pull/546): Added support for matcher-combinators to the test middleware. + ## 0.18.0 (2018-08-06) ### New features diff --git a/src/cider/nrepl/middleware/test.clj b/src/cider/nrepl/middleware/test.clj index c63d81fb3..27e423048 100644 --- a/src/cider/nrepl/middleware/test.clj +++ b/src/cider/nrepl/middleware/test.clj @@ -171,6 +171,12 @@ [m] (report-shrinking m)) +(defmethod report :matcher-combinators/mismatch + [m] + (report-final-status (assoc m + :type :fail + :actual (:markup m)))) + (defn report-fixture-error "Delegate reporting for test fixture errors to the `report` function. This finds the erring test fixture in the stacktrace and binds it as the current