Skip to content

Conversation

@mrvipchien
Copy link
Contributor

This PR adds new test cases for the Arr helper to improve test coverage. The changes include:

  1. Arr::add(): Add cases where key already exists
  2. Arr::collapse(): Remove duplicate case
  3. Arr::get(): Add cases where array has a empty key
  4. Arr::isList(): Add cases with negative keys
  5. Arr::only(): Add cases with numeric keys
  6. Arr::select(): Add cases with null / non-exists $keys

@taylorotwell taylorotwell merged commit d065f94 into laravel:11.x Jan 22, 2025
38 checks passed
@mrvipchien mrvipchien deleted the arr-test branch February 5, 2025 16:27
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