Skip to content

Commit

Permalink
fix bs test
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipMay committed Dec 29, 2024
1 parent 6fc9e66 commit 230a92e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_bs.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def test_soup_to_md(my_soup: BeautifulSoup):
result = soup_to_md(my_soup)
assert result is not None
assert (
result == "The Dormouse's story **The Dormouse's story**\n\n"
result == "The Dormouse's story\n\n**The Dormouse's story**\n\n"
"Once upon a time there were three little sisters; "
"and their names were [Elsie](http://example.com/elsie), "
"[Lacie](http://example.com/lacie) and [Tillie](http://example.com/tillie); "
Expand All @@ -83,7 +83,7 @@ def test_html_to_md():
result = html_to_md(html_doc)
assert result is not None
assert (
result == "The Dormouse's story **The Dormouse's story**\n\n"
result == "The Dormouse's story\n\n**The Dormouse's story**\n\n"
"Once upon a time there were three little sisters; "
"and their names were [Elsie](http://example.com/elsie), "
"[Lacie](http://example.com/lacie) and [Tillie](http://example.com/tillie); "
Expand Down

0 comments on commit 230a92e

Please sign in to comment.