Skip to content

Commit afcf20c

Browse files
committed
Fix typo 'punctation' to 'punctuation'
1 parent 20f7314 commit afcf20c

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

docs/source/changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Changelog
44
0.7.2
55
=======================================
66

7-
- Fix bug where :doc:`processors/panel` processor does not handle punctation characters in titles and subtitles.
7+
- Fix bug where :doc:`processors/panel` processor does not handle punctuation characters in titles and subtitles.
88
- Dependency updates:
99

1010
- Update ``markdown`` to 2.6.11.

verto/tests/PanelTest.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@ def test_heading_no_subtitle(self):
3939
expected_string = self.read_test_file(self.processor_name, 'heading_no_subtitle_expected.html', strip=True)
4040
self.assertEqual(expected_string, converted_test_string)
4141

42-
def test_heading_with_punctation(self):
42+
def test_heading_with_punctuation(self):
4343
'''Tests that a heading is parsed correctly
4444
'''
45-
test_string = self.read_test_file(self.processor_name, 'heading_with_punctation.md')
45+
test_string = self.read_test_file(self.processor_name, 'heading_with_punctuation.md')
4646
blocks = self.to_blocks(test_string)
4747

4848
self.assertListEqual([True, False, False, True], [self.block_processor.test(blocks, block) for block in blocks], msg='"{}"'.format(test_string))
4949

5050
converted_test_string = markdown.markdown(test_string, extensions=[self.verto_extension])
51-
expected_string = self.read_test_file(self.processor_name, 'heading_with_punctation_expected.html', strip=True)
51+
expected_string = self.read_test_file(self.processor_name, 'heading_with_punctuation_expected.html', strip=True)
5252
self.assertEqual(expected_string, converted_test_string)
5353

5454
def test_heading_subtitle_false(self):
@@ -87,16 +87,16 @@ def test_heading_with_subtitle(self):
8787
expected_string = self.read_test_file(self.processor_name, 'heading_with_subtitle_expected.html', strip=True)
8888
self.assertEqual(expected_string, converted_test_string)
8989

90-
def test_heading_with_subtitle_with_punctation(self):
90+
def test_heading_with_subtitle_with_punctuation(self):
9191
'''Tests that both a heading and subtitle is parsed correctly
9292
'''
93-
test_string = self.read_test_file(self.processor_name, 'heading_with_subtitle_with_punctation.md')
93+
test_string = self.read_test_file(self.processor_name, 'heading_with_subtitle_with_punctuation.md')
9494
blocks = self.to_blocks(test_string)
9595

9696
self.assertListEqual([True, False, False, False, True], [self.block_processor.test(blocks, block) for block in blocks], msg='"{}"'.format(test_string))
9797

9898
converted_test_string = markdown.markdown(test_string, extensions=[self.verto_extension])
99-
expected_string = self.read_test_file(self.processor_name, 'heading_with_subtitle_with_punctation_expected.html', strip=True)
99+
expected_string = self.read_test_file(self.processor_name, 'heading_with_subtitle_with_punctuation_expected.html', strip=True)
100100
self.assertEqual(expected_string, converted_test_string)
101101

102102
def test_heading_with_subtitle_h2_heading_in_panel(self):

0 commit comments

Comments
 (0)