-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Proposal]Add test with 0 element but not empty #86
Labels
improvement
Some improvement
Comments
This was referenced Feb 4, 2022
meian
added a commit
that referenced
this issue
Feb 5, 2022
meian
added a commit
that referenced
this issue
Feb 5, 2022
…empty #86 Add test with 0 element but not empty
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Proposal.
Add common test case for empty element but no emptyIterable.
The test checks for no panic.
Use test source like below.
What benefit with the proposal?
Since each Iterator does not expect to pass 0 Iterators, it could panic trying to process 0 Iterators.
By passing this test prevent that panic.
Others
Originally posted by @meian in #83 (comment)
The text was updated successfully, but these errors were encountered: