Fix the vi mode bind test

Note support for the 'replace' mode.
This commit is contained in:
ridiculousfish 2019-11-25 16:43:54 -08:00
parent d11a5088c5
commit 305409a025

View File

@ -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"