ied

(matcha/run-match (matcha/has-entry :a 1) {:a 1}) ; =&gt; passes
(matcha/run-match (matcha/has-entry :a 1) {:a 2}) ; =&gt; fails</pre></div></div><div class="public anchor" id="var-has-entry-that"><h3>has-entry-that</h3><div class="usage"><code>(has-entry-that k matcher)</code></div><div class="doc"><pre class="plaintext">passes if the map received has a value at the key given that matches the
nested matcher

(matcha/run-match (matcha/has-entry-that :a (matcha/= 1)) {:a 1}) ; =&gt; passes
(matcha/run-m