We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa89abf commit b71bfb6Copy full SHA for b71bfb6
1 file changed
exercises/acronym/acronym_test.py
@@ -3,7 +3,7 @@
3
from acronym import abbreviate
4
5
6
-# Tests adapted from `problem-specifications//canonical-data.json` @ v1.4.0
+# Tests adapted from `problem-specifications//canonical-data.json` @ v1.5.0
7
8
class AcronymTest(unittest.TestCase):
9
def test_basic(self):
@@ -27,6 +27,10 @@ def test_very_long_abbreviation(self):
27
abbreviate("Rolling On The Floor Laughing So Hard That "
28
"My Dogs Came Over And Licked Me"), "ROTFLSHTMDCOALM")
29
30
+ def test_consecutive_delimiters(self):
31
+ self.assertEqual(
32
+ abbreviate('Something - I made up from thin air'), 'SIMUFTA')
33
+
34
35
if __name__ == '__main__':
36
unittest.main()
0 commit comments