Skip to content

Commit

Permalink
add failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
theSage21 committed Jun 22, 2021
1 parent 2ee4495 commit 820b779
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/test_newlines_on_multiple_calls.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import html2text

# See https://github.com/Alir3z4/html2text/issues/163 for more information.


def test_newline_on_multiple_calls():
h = html2text.HTML2Text()
md1 = h.handle("<p>test</test>")
md2 = h.handle("<p>test</test>")
assert md1 == md2

0 comments on commit 820b779

Please sign in to comment.