diff --git a/tests/pexpects/cursor_selection.py b/tests/pexpects/cursor_selection.py index 474d77e83..507d15517 100644 --- a/tests/pexpects/cursor_selection.py +++ b/tests/pexpects/cursor_selection.py @@ -16,46 +16,46 @@ expect_prompt() sendline("set fish_cursor_selection_mode inclusive") -sendline(f"echo{home}{select}{dump}") +sendline("echo" + home + select + dump) expect_str("") -sendline(f"echo{home}{select}{right}{dump}") +sendline("echo" + home + select + right + dump) expect_str("") -sendline(f"echo{home}{right}{select}{left}{dump}") +sendline("echo" + home + right + select + left + dump) expect_str("") -sendline(f"echo{home}{right}{select}{dump}") +sendline("echo" + home + right + select + dump) expect_str("") -sendline(f"echo{home}{right}{select}{right}{dump}") +sendline("echo" + home + right + select + right + dump) expect_str("") -sendline(f"echo{home}{right}{right}{select}{left}{dump}") +sendline("echo" + home + right + right + select + left + dump) expect_str("") -sendline(f"echo{end}{select}{dump}") +sendline("echo" + end + select + dump) expect_str("<>") -sendline(f"echo{end}{select}{left}{dump}") +sendline("echo" + end + select + left + dump) expect_str("") -sendline(f"echo{end}{left}{select}{right}{dump}") +sendline("echo" + end + left + select + right + dump) expect_str("") sendline("set fish_cursor_selection_mode exclusive") -sendline(f"echo{home}{select}{dump}") +sendline("echo" + home + select + dump) expect_str("<>") -sendline(f"echo{home}{select}{right}{dump}") +sendline("echo" + home + select + right + dump) expect_str("") -sendline(f"echo{home}{right}{select}{left}{dump}") +sendline("echo" + home + right + select + left + dump) expect_str("") -sendline(f"echo{home}{right}{select}{dump}") +sendline("echo" + home + right + select + dump) expect_str("<>") -sendline(f"echo{home}{right}{select}{right}{dump}") +sendline("echo" + home + right + select + right + dump) expect_str("") -sendline(f"echo{home}{right}{right}{select}{left}{dump}") +sendline("echo" + home + right + right + select + left + dump) expect_str("") -sendline(f"echo{end}{select}{dump}") +sendline("echo" + end + select + dump) expect_str("<>") -sendline(f"echo{end}{select}{left}{dump}") +sendline("echo" + end + select + left + dump) expect_str("") -sendline(f"echo{end}{left}{select}{right}{dump}") +sendline("echo" + end + left + select + right + dump) expect_str("")