changeset 24639:b2776ca79273 v8.2.2858

patch 8.2.2858: test fails because of changed error message Commit: https://github.com/vim/vim/commit/6b02b38ed06879f5e6befe2140aee11a6ad66884 Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 16 16:19:37 2021 +0200 patch 8.2.2858: test fails because of changed error message Problem: Test fails because of changed error message. Solution: Adjust the expected error message.
author Bram Moolenaar <Bram@vim.org>
date Sun, 16 May 2021 16:30:02 +0200
parents 87c734a84a0e
children 2a685774ad69
files src/testdir/test_ex_mode.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_ex_mode.vim
+++ b/src/testdir/test_ex_mode.vim
@@ -154,9 +154,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()
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2858,
+/**/
     2857,
 /**/
     2856,