Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'len', 'count' and 'empty' complex assertions #97

Merged
merged 1 commit into from
Apr 25, 2022

Conversation

luke-biel
Copy link
Collaborator

  • add complex len and has_length keywords to assert collections that provide .len() method
  • add complex count and has_count keywords to assert collections that implement IntoIterator trait
  • add complex empty keyword to assert whether collection is empty via is_empty() associated method

This was linked to issues Apr 25, 2022
@luke-biel luke-biel merged commit 8057e5b into master Apr 25, 2022
@luke-biel luke-biel deleted the luke-biel/len-count-empty-complex branch April 25, 2022 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add is (not) empty Add is (not) len ...
1 participant