Skip to content

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

Merged
luke-biel merged 1 commit intomasterfrom
luke-biel/len-count-empty-complex
Apr 25, 2022
Merged

Add 'len', 'count' and 'empty' complex assertions#97
luke-biel merged 1 commit intomasterfrom
luke-biel/len-count-empty-complex

Conversation

@luke-biel
Copy link
Copy Markdown
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