mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 12:04:39 +08:00
Fix the bind.py tests
Errant newlines were causing extra prompts.
This commit is contained in:
parent
c0766c1844
commit
abf92fcbd1
|
@ -358,7 +358,7 @@ send('\x02\x02\x02') # ctrl-b, backward-char
|
|||
sendline('\x1bu') # alt+u, upcase word
|
||||
expect_prompt("fooBAR")
|
||||
|
||||
send("""
|
||||
sendline("""
|
||||
bind ctrl-g "
|
||||
commandline --insert 'echo foo ar'
|
||||
commandline -f backward-word
|
||||
|
@ -367,7 +367,7 @@ send("""
|
|||
commandline -f backward-char
|
||||
commandline -f delete-char
|
||||
"
|
||||
""")
|
||||
""".strip())
|
||||
send('\x07') # ctrl-g
|
||||
send('\r')
|
||||
expect_prompt("foobar")
|
||||
|
|
Loading…
Reference in New Issue
Block a user