Skip to content

Commit

Permalink
Update exercises/practice/anagram/AnagramTest.php
Browse files Browse the repository at this point in the history
Co-authored-by: mk-mxp <[email protected]>
  • Loading branch information
neenjaw and mk-mxp authored Jan 19, 2025
1 parent 06c771e commit ef85186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/practice/anagram/AnagramTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public static function setUpBeforeClass(): void
*/
public function testNoMatches(): void
{
$this->assertEqualsCanonicalizing([], detectAnagrams('diaper', ['hello', 'world', 'zombies', 'pants']));
$this->assertEqualsCanonicalizing([], array_values(detectAnagrams('diaper', ['hello', 'world', 'zombies', 'pants'])));
}

/**
Expand Down

0 comments on commit ef85186

Please sign in to comment.