From 23cd1bcee3fd83bef499cba2078ab8e33e049226 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A1s=20B=20Nagy?= <20251272+BNAndras@users.noreply.github.com> Date: Fri, 22 Dec 2023 18:00:18 -0800 Subject: [PATCH] Update anagram tests (#175) --- exercises/practice/anagram/.meta/tests.toml | 5 +++++ exercises/practice/anagram/anagram-test.arr | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/exercises/practice/anagram/.meta/tests.toml b/exercises/practice/anagram/.meta/tests.toml index 8a3708b..4f43811 100644 --- a/exercises/practice/anagram/.meta/tests.toml +++ b/exercises/practice/anagram/.meta/tests.toml @@ -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" diff --git a/exercises/practice/anagram/anagram-test.arr b/exercises/practice/anagram/anagram-test.arr index afd449b..d1ffa83 100644 --- a/exercises/practice/anagram/anagram-test.arr +++ b/exercises/practice/anagram/anagram-test.arr @@ -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