changeset 35571:6954739a0d42 v9.1.0539

patch 9.1.0539: Not enough tests for what v9.1.0535 fixed Commit: https://github.com/vim/vim/commit/248efab9b53516febf771bad9a88d3ca46f05ed6 Author: Christian Brabandt <cb@256bit.org> Date: Sun Jul 7 19:44:16 2024 +0200 patch 9.1.0539: Not enough tests for what v9.1.0535 fixed Problem: Not enough tests for what v9.1.0535 fixed Solution: Add another test for ex-mode This comes from: https://groups.google.com/g/vim_dev/c/F5-tDqoafz8/m/GqKF-uQsLD0J related: #15120 Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 07 Jul 2024 20:00:06 +0200
parents c20886f6e1fa
children fda4c044bbfb
files src/testdir/test_ex_mode.vim src/version.c
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_ex_mode.vim
+++ b/src/testdir/test_ex_mode.vim
@@ -346,4 +346,11 @@ func Test_backslash_multiline()
   call assert_equal(["", "enum"], getline(1, 2))
 endfunc
 
+" Test using backslash in ex-mode after patch 9.1.0535
+func Test_backslash_multiline2()
+  new
+  call feedkeys('Qa
X \\
Y
.', "xt")
+  call assert_equal(['X \\', "Y"], getline(1, 2))
+endfunc
+
 " vim: shiftwidth=2 sts=2 expandtab
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    539,
+/**/
     538,
 /**/
     537,