Skip to content

Commit

Permalink
TASK: Add test for SearchTermMatcher to not crash on nested null value
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Sep 26, 2024
1 parent 37ebdd8 commit bfa5c95
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ public function notMatchingExamples(): iterable
yield 'array with unmatched string' => ['hello', self::value(['hi'])];
yield 'array key is not considered matching' => ['key', self::value(['key' => 'foo'])];
yield 'nested array key is not considered matching' => ['key', self::value([['key' => 'foo']])];
yield 'array with null value' => ['foo', self::value([null])];
}

/**
Expand Down

0 comments on commit bfa5c95

Please sign in to comment.