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 edfaff6 commit b43a826Copy full SHA for b43a826
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.6.0
+# Tests adapted from `problem-specifications//canonical-data.json` @ v1.7.0
7
8
class AcronymTest(unittest.TestCase):
9
def test_basic(self):
@@ -34,6 +34,9 @@ def test_consecutive_delimiters(self):
34
def test_apostrophes(self):
35
self.assertEqual(abbreviate("Halley's Comet"), 'HC')
36
37
+ def test_underscore_emphasis(self):
38
+ self.assertEqual(abbreviate("The Road _Not_ Taken"), 'TRNT')
39
+
40
41
if __name__ == '__main__':
42
unittest.main()
0 commit comments