mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 10:57:30 +08:00
Fix the vi mode bind test
Note support for the 'replace' mode.
This commit is contained in:
parent
d11a5088c5
commit
305409a025
|
@ -193,7 +193,7 @@ expect_prompt -re {\r\nTENT\r\n} {
|
|||
|
||||
# Now test that exactly the expected bind modes are defined
|
||||
send "bind --list-modes\r"
|
||||
expect_prompt -re {\r\ndefault\r\ninsert\r\npaste\r\nreplace_one\r\nvisual\r\n} {
|
||||
expect_prompt -re {\r\ndefault\r\ninsert\r\npaste\r\nreplace\r\nreplace_one\r\nvisual\r\n} {
|
||||
puts "vi bind modes"
|
||||
} unmatched {
|
||||
puts stderr "Unexpected vi bind modes"
|
||||
|
|
Loading…
Reference in New Issue
Block a user