From 66b7f62542de0c9910f0e701a4c51834cfea3bab Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Tue, 16 May 2023 10:00:40 +0800 Subject: [PATCH] vim-patch:8.2.2858: test fails because of changed error message (#23647) Problem: Test fails because of changed error message. Solution: Adjust the expected error message. https://github.com/vim/vim/commit/6b02b38ed06879f5e6befe2140aee11a6ad66884 Co-authored-by: Bram Moolenaar --- test/old/testdir/test_ex_mode.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/old/testdir/test_ex_mode.vim b/test/old/testdir/test_ex_mode.vim index b30dce8630..3332bc6ab9 100644 --- a/test/old/testdir/test_ex_mode.vim +++ b/test/old/testdir/test_ex_mode.vim @@ -218,9 +218,9 @@ func Test_Ex_echo_backslash() let bsl = '\\\\' let bsl2 = '\\\' call assert_fails('call feedkeys("Qecho " .. bsl .. "\nvisual\n", "xt")', - \ "E15: Invalid expression: \\\\") + \ 'E15: Invalid expression: "\\"') call assert_fails('call feedkeys("Qecho " .. bsl2 .. "\nm\nvisual\n", "xt")', - \ "E15: Invalid expression: \\\nm") + \ "E15: Invalid expression: \"\\\nm\"") endfunc func Test_ex_mode_errors()