From a87497cbe23b33f01750ee55dab247725108d39b Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sat, 29 Aug 2020 19:20:00 -0700 Subject: [PATCH] improve indent-mod test --- tests/features/indent_test.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/features/indent_test.py b/tests/features/indent_test.py index 3f742ae..052dd7f 100644 --- a/tests/features/indent_test.py +++ b/tests/features/indent_test.py @@ -12,11 +12,12 @@ def test_indent_at_beginning_of_line(run): def test_indent_not_full_tab(run): with run() as h, and_exit(h): - h.press('h') + h.press('hello') + h.press('Home') + h.press('Right') h.press('Tab') - h.press('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):