Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelnt committed Feb 2, 2017
1 parent d688a4e commit 531acb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doorstop/core/test/test_publisher.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def test_lines_markdown_item(self):

def test_lines_markdown_item_heading(self):
"""Verify Markdown can be published from an item (heading)."""
expected = "## 1.1 Heading {: #req3 }\n\n"
expected = "## 1.1 Heading {#req3 }\n\n"
# Act
lines = publisher.publish_lines(self.item, '.md', linkify=True)
text = ''.join(line + '\n' for line in lines)
Expand All @@ -211,7 +211,7 @@ def test_lines_markdown_item_heading(self):
@patch('doorstop.settings.PUBLISH_HEADING_LEVELS', False)
def test_lines_markdown_item_heading_no_heading_levels(self):
"""Verify an item heading level can be ommitted."""
expected = "## Heading {: #req3 }\n\n"
expected = "## Heading {#req3 }\n\n"
# Act
lines = publisher.publish_lines(self.item, '.md', linkify=True)
text = ''.join(line + '\n' for line in lines)
Expand Down

0 comments on commit 531acb1

Please sign in to comment.