Skip to content

Commit

Permalink
Ensure order independence
Browse files Browse the repository at this point in the history
  • Loading branch information
mk-mxp authored Jan 25, 2025
1 parent c971fb6 commit e7639ae
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 @@ -75,7 +75,7 @@ public function testDetectsMultipleAnagramsWithDifferentCase(): void
*/
public function testDoesNotDetectNonAnagramsWithIdenticalChecksum(): void
{
$this->assertEqualsCanonicalizing([], detectAnagrams('mass', ['last']));
$this->assertEqualsCanonicalizing([], array_values(detectAnagrams('mass', ['last'])));
}

/**
Expand Down

0 comments on commit e7639ae

Please sign in to comment.