Skip to content

Commit

Permalink
Update anagram tests (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
BNAndras authored Dec 23, 2023
1 parent a5766fa commit 23cd1bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions exercises/practice/anagram/.meta/tests.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ description = "detects anagrams using case-insensitive possible matches"

[7cc195ad-e3c7-44ee-9fd2-d3c344806a2c]
description = "does not detect an anagram if the original word is repeated"
include = false

[630abb71-a94e-4715-8395-179ec1df9f91]
description = "does not detect an anagram if the original word is repeated"
reimplements = "7cc195ad-e3c7-44ee-9fd2-d3c344806a2c"

[9878a1c9-d6ea-4235-ae51-3ea2befd6842]
description = "anagrams must use all letters exactly once"
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/anagram/anagram-test.arr
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ end

fun no-detect-anagram-for-repeating-word():
check "does not detect an anagram if the original word is repeated":
candidates = [list: "go Go GO"]
candidates = [list: "goGoGO"]
expected = [list: ]

find-anagrams("go", candidates) is expected
Expand Down

0 comments on commit 23cd1bc

Please sign in to comment.