Skip to content

match? mismatches predicates when applied to keys in maps #132

Open
@dchelimsky

Description

> (require '[matcher-combinators.standalone :refer [match?]])
nil
> (match? {:a :b} {:a :b})
true
> (match? keyword? (first (keys {:a :b})))
true
> (match? keyword? (first (vals {:a :b})))
true
> (match? {:a keyword?} {:a :b})
true
> (match? {keyword? :b} {:a :b})
false

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions