Skip to content

Commit

Permalink
exercises(anagram): sync tests
Browse files Browse the repository at this point in the history
Reflect the upstream change [1].

[1] exercism/problem-specifications@42e59898db15
  • Loading branch information
ee7 committed Oct 7, 2023
1 parent f998a62 commit a136758
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/test_anagram.zig
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ test "detects anagrams using case-insensitive possible matches" {
test "does not detect an anagram if the original word is repeated" {
const expected = [_][]const u8{};
const word = "go";
const candidates = [_][]const u8{"go Go GO"};
const candidates = [_][]const u8{"goGoGO"};
try testAnagrams(&expected, word, &candidates);
}

Expand Down

0 comments on commit a136758

Please sign in to comment.