Skip to content

Commit

Permalink
Fix typo in SupportCollectionTest (#51966)
Browse files Browse the repository at this point in the history
Co-authored-by: Zack Bundy <[email protected]>
  • Loading branch information
zbundy and Zack Bundy authored Jul 1, 2024
1 parent 6a942d1 commit 264afa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Support/SupportCollectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,7 @@ public function testDiffCollection($collection)
public function testDiffUsingWithCollection($collection)
{
$c = new $collection(['en_GB', 'fr', 'HR']);
// demonstrate that diffKeys won't support case insensitivity
// demonstrate that diff won't support case insensitivity
$this->assertEquals(['en_GB', 'fr', 'HR'], $c->diff(new $collection(['en_gb', 'hr']))->values()->toArray());
// allow for case insensitive difference
$this->assertEquals(['fr'], $c->diffUsing(new $collection(['en_gb', 'hr']), 'strcasecmp')->values()->toArray());
Expand Down

0 comments on commit 264afa5

Please sign in to comment.