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 f326c5d commit 80b935e
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 @@ -56,7 +56,7 @@ public function testDetectsThreeAnagrams(): void
{
$this->assertEqualsCanonicalizing(
['gallery', 'regally', 'largely'],
detectAnagrams('allergy', ['gallery', 'ballerina', 'regally', 'clergy', 'largely', 'leading'])
array_values(detectAnagrams('allergy', ['gallery', 'ballerina', 'regally', 'clergy', 'largely', 'leading']))
);
}

Expand Down

0 comments on commit 80b935e

Please sign in to comment.