Skip to content

Conversation

thediveo
Copy link
Collaborator

@thediveo thediveo commented Feb 28, 2022

relates to issue #520 and defines the HaveEach matcher behavior for empty arrays/slices/maps.

  • HaveEachMatcher errors for empty actual value
  • update unit tests
  • update documentation and include example when empty actuals are acceptable

- HaveEachMatcher errors for empty actual value
- update unit tests
- update documentation and include example when empty actuals are acceptable
@onsi
Copy link
Owner

onsi commented Feb 28, 2022

Makes sense, good catch!

@onsi onsi merged commit c8ba582 into onsi:master Feb 28, 2022
@thediveo thediveo deleted the have-each-up branch February 28, 2022 16:45
@thediveo thediveo mentioned this pull request Feb 28, 2022
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.

2 participants