Skip to content

Commit

Permalink
Fix CI unit test failures
Browse files Browse the repository at this point in the history
- Fix more unit tests failures related to trailing spaces
  • Loading branch information
rparkr committed Dec 4, 2024
1 parent ffac42a commit 8fe6ca0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def test_convert_tags() -> None:
documents = [Document(page_content=paragraphs_html)]
docs_transformed = markdownify.transform_documents(documents)
assert docs_transformed[0].page_content == (
"Header\n\n "
"Header "
"1st paragraph.\n\n "
"2nd paragraph. Here is link\n\n "
"Ignore at end"
Expand Down Expand Up @@ -251,7 +251,7 @@ async def test_convert_tags_async() -> None:
documents = [Document(page_content=paragraphs_html)]
docs_transformed = await markdownify.atransform_documents(documents)
assert docs_transformed[0].page_content == (
"Header\n\n "
"Header "
"1st paragraph.\n\n "
"2nd paragraph. Here is link\n\n "
"Ignore at end"
Expand Down

0 comments on commit 8fe6ca0

Please sign in to comment.