From 4b222a90166f641728ddd51bc55b189dedb70fef Mon Sep 17 00:00:00 2001 From: Orestis <45451374+olapokon@users.noreply.github.com> Date: Mon, 4 Sep 2023 15:26:24 +0300 Subject: [PATCH] Reimplement anagram test case to remove unnecessary whitespace from the input --- exercises/anagram/canonical-data.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/exercises/anagram/canonical-data.json b/exercises/anagram/canonical-data.json index 39a00472e5..94a0867075 100644 --- a/exercises/anagram/canonical-data.json +++ b/exercises/anagram/canonical-data.json @@ -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",