Skip to content

Conversation

@frontman-git
Copy link

Adds a missing test case for _.chunk([], 0) to ensure it returns an empty array as expected.

Although issue #5293 was closed, the discussion clarified that chunking an empty array should result in an empty array, not [[]]. This PR adds a test to explicitly document and guard this behavior.

@frontman-git frontman-git force-pushed the chunk-empty-array-test branch from b9a09e5 to 3744480 Compare June 5, 2025 14:46
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.

1 participant