improve indent-mod test

This commit is contained in:
Anthony Sottile
2020-08-29 19:20:00 -07:00
parent d7622f38c6
commit a87497cbe2

View File

@@ -12,11 +12,12 @@ def test_indent_at_beginning_of_line(run):
def test_indent_not_full_tab(run): def test_indent_not_full_tab(run):
with run() as h, and_exit(h): with run() as h, and_exit(h):
h.press('h') h.press('hello')
h.press('Home')
h.press('Right')
h.press('Tab') h.press('Tab')
h.press('ello')
h.await_text('h ello') h.await_text('h ello')
h.await_cursor_position(x=8, y=1) h.await_cursor_position(x=4, y=1)
def test_indent_fixes_eof(run): def test_indent_fixes_eof(run):