Skip to content

Commit ef951b4

Browse files
authored
Synced tests to cannonical data and regenerated testfile. (#3575)
1 parent 0bb0a2f commit ef951b4

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

exercises/practice/anagram/.meta/tests.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ description = "detects anagrams using case-insensitive possible matches"
4646

4747
[7cc195ad-e3c7-44ee-9fd2-d3c344806a2c]
4848
description = "does not detect an anagram if the original word is repeated"
49+
include = false
50+
51+
[630abb71-a94e-4715-8395-179ec1df9f91]
52+
description = "does not detect an anagram if the original word is repeated"
53+
reimplements = "7cc195ad-e3c7-44ee-9fd2-d3c344806a2c"
4954

5055
[9878a1c9-d6ea-4235-ae51-3ea2befd6842]
5156
description = "anagrams must use all letters exactly once"

exercises/practice/anagram/anagram_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# These tests are auto-generated with test data from:
22
# https://github.com/exercism/problem-specifications/tree/main/exercises/anagram/canonical-data.json
3-
# File last updated on 2023-07-20
3+
# File last updated on 2023-12-27
44

55
import unittest
66

@@ -61,7 +61,7 @@ def test_detects_anagrams_using_case_insensitive_possible_matches(self):
6161
self.assertCountEqual(find_anagrams("orchestra", candidates), expected)
6262

6363
def test_does_not_detect_an_anagram_if_the_original_word_is_repeated(self):
64-
candidates = ["go Go GO"]
64+
candidates = ["goGoGO"]
6565
expected = []
6666
self.assertCountEqual(find_anagrams("go", candidates), expected)
6767

0 commit comments

Comments
 (0)