Skip to content

Commit b71bfb6

Browse files
omer-gcmccandless
authored andcommitted
acronym: Update tests to v1.5.0 (exercism#1541)
Resolves exercism#1503
1 parent fa89abf commit b71bfb6

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

exercises/acronym/acronym_test.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from acronym import abbreviate
44

55

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

88
class AcronymTest(unittest.TestCase):
99
def test_basic(self):
@@ -27,6 +27,10 @@ def test_very_long_abbreviation(self):
2727
abbreviate("Rolling On The Floor Laughing So Hard That "
2828
"My Dogs Came Over And Licked Me"), "ROTFLSHTMDCOALM")
2929

30+
def test_consecutive_delimiters(self):
31+
self.assertEqual(
32+
abbreviate('Something - I made up from thin air'), 'SIMUFTA')
33+
3034

3135
if __name__ == '__main__':
3236
unittest.main()

0 commit comments

Comments
 (0)