Skip to content

Commit

Permalink
Reimplement anagram test case to remove unnecessary whitespace from t…
Browse files Browse the repository at this point in the history
…he input
  • Loading branch information
olapokon committed Sep 5, 2023
1 parent dbeaf6d commit 4b222a9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions exercises/anagram/canonical-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,17 @@
},
"expected": []
},
{
"uuid": "630abb71-a94e-4715-8395-179ec1df9f91",
"reimplements": "7cc195ad-e3c7-44ee-9fd2-d3c344806a2c",
"description": "does not detect an anagram if the original word is repeated",
"property": "findAnagrams",
"input": {
"subject": "go",
"candidates": ["goGoGO"]
},
"expected": []
},
{
"uuid": "9878a1c9-d6ea-4235-ae51-3ea2befd6842",
"description": "anagrams must use all letters exactly once",
Expand Down

0 comments on commit 4b222a9

Please sign in to comment.