]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.0539: Not enough tests for what v9.1.0535 fixed v9.1.0539
authorChristian Brabandt <cb@256bit.org>
Sun, 7 Jul 2024 17:44:16 +0000 (19:44 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 7 Jul 2024 17:44:16 +0000 (19:44 +0200)
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>
src/testdir/test_ex_mode.vim
src/version.c

index 12e983f4b8ff54ad28a5d51d33d0eb8201532da6..6969d5ec046957ececd132ca31fd197e652db5f7 100644 (file)
@@ -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\rX \\\rY\r.', "xt")
+  call assert_equal(['X \\', "Y"], getline(1, 2))
+endfunc
+
 " vim: shiftwidth=2 sts=2 expandtab
index 7d1c91b8cc9e833534d8af06d60c9c6a88fb3aac..456f2d67c129cae2a1f80c6e42efb359ecbbc238 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    539,
 /**/
     538,
 /**/