Skip to content

Commit 273b377

Browse files
Nishant23cmccandless
authored andcommitted
isogram: update tests to v1.7.0 (exercism#1606)
Closes exercism#1586
1 parent ee9a8c9 commit 273b377

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

exercises/isogram/isogram_test.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from isogram import is_isogram
44

55

6-
# Tests adapted from `problem-specifications//canonical-data.json` @ v1.6.0
6+
# Tests adapted from `problem-specifications//canonical-data.json` @ v1.7.0
77

88
class IsogramTest(unittest.TestCase):
99

@@ -31,6 +31,9 @@ def test_word_with_duplicated_letter_in_mixed_case_lowercase_first(self):
3131
def test_hypothetical_isogrammic_word_with_hyphen(self):
3232
self.assertIs(is_isogram("thumbscrew-japingly"), True)
3333

34+
def test_hypothetical_word_with_duplicate_character_following_hyphen(self):
35+
self.assertIs(is_isogram("thumbscrew-jappingly"), False)
36+
3437
def test_isogram_with_duplicated_hyphen(self):
3538
self.assertIs(is_isogram("six-year-old"), True)
3639

0 commit comments

Comments
 (0)