Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
enzet committed Aug 10, 2023
1 parent a093b58 commit 1b6b77f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,23 +102,23 @@ def test_html_text_around_tag_and_spaces() -> None:
def test_html_nested_tags_and_spaces() -> None:
check(
"\\block {a\n\nt \\m {tt} t\n\na}",
"<p>a</p><p>t <tt>tt</tt> t</p><p>a</p>",
"<p>a</p><p>t <code>tt</code> t</p><p>a</p>",
"Text around two tags with spaces",
)


def test_html_nested_tags_and_spaces_around() -> None:
check(
"\\block {a\n\n t \\m {tt} t \n\na}",
"<p>a</p><p>t <tt>tt</tt> t</p><p>a</p>",
"<p>a</p><p>t <code>tt</code> t</p><p>a</p>",
"Text around two tags with spaces",
)


def test_html_nested_tags_and_multiple_spaces() -> None:
check(
"\\block {a\n\n t \\m {tt} t \n\na}",
"<p>a</p><p>t <tt>tt</tt> t</p><p>a</p>",
"<p>a</p><p>t <code>tt</code> t</p><p>a</p>",
"Text around two tags with spaces",
)

Expand Down

0 comments on commit 1b6b77f

Please sign in to comment.