Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
fix: make negated `.keys` consider size of sets #924
When neither the
When neither the `contains` nor `any` flags are set, the `.keys` assertion implicitly means `.all.keys` and thus requires the target and given sets to be the same size. Therefore, `not.keys` implicitly means `.not.all.keys`, and should thus pass when the target and given sets aren't the same size, even if the target set is a superset of the given set. This commit enables this behavior.