-
-
Notifications
You must be signed in to change notification settings - Fork 929
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
fix: empty array passed into helpers.arrayElements #921
Conversation
helpers.arrayElements
(#920)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if you pass an empty array but also pass a count greater than 0?
Could you add a second test for this case?
Codecov Report
@@ Coverage Diff @@
## main #921 +/- ##
=======================================
Coverage 99.65% 99.65%
=======================================
Files 1958 1958
Lines 210666 210669 +3
Branches 907 909 +2
=======================================
+ Hits 209930 209934 +4
+ Misses 717 716 -1
Partials 19 19
|
Sure, added. |
No description provided.