From 305409a025ca4a7699146d9f1d5df03f15740c30 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Mon, 25 Nov 2019 16:43:54 -0800 Subject: [PATCH] Fix the vi mode bind test Note support for the 'replace' mode. --- tests/bind.expect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bind.expect b/tests/bind.expect index a81e91fdb..bb9984dbf 100644 --- a/tests/bind.expect +++ b/tests/bind.expect @@ -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"