patch 9.1.0539: Not enough tests for what v9.1.0535 fixed
Commit:
https://github.com/vim/vim/commit/248efab9b53516febf771bad9a88d3ca46f05ed6
Author: Christian Brabandt <
c...@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 <
c...@256bit.org>
diff --git a/src/testdir/test_ex_mode.vim b/src/testdir/test_ex_mode.vim
index 12e983f4b..6969d5ec0 100644
--- 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
diff --git a/src/version.c b/src/version.c
index 7d1c91b8c..456f2d67c 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 539,
/**/
538,
/**/