Skip to content

Commit

Permalink
actually fix the list continuation test
Browse files Browse the repository at this point in the history
hopefully
  • Loading branch information
benjamin-kirkbride committed Jul 4, 2023
1 parent 2c24d1b commit 7809f5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_markdown_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def test_list_continuation(li: str, filetab, tmp_path):
assert filetab.settings.get("filetype_name", object) == "Markdown"

# new line
filetab.update()
filetab.textwidget.event_generate("<Return>")
current_line = filetab.textwidget.get("insert - 1l linestart", "insert - 1l lineend")
filetab.update()
current_line = filetab.textwidget.get("insert linestart", "insert lineend")
assert markdown._list_item(current_line)

0 comments on commit 7809f5b

Please sign in to comment.