diff options
author | Christian Brabandt <cb@256bit.org> | 2024-07-07 19:44:16 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-07-07 19:44:16 +0200 |
commit | 248efab9b53516febf771bad9a88d3ca46f05ed6 (patch) | |
tree | 00fe98e5ecd55f93833ed484a5a76dcd093eae1b | |
parent | b9bbf1f04439a6cdb6d376c94852721e4ebf8300 (diff) |
patch 9.1.0539: Not enough tests for what v9.1.0535 fixedv9.1.0539
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>
-rw-r--r-- | src/testdir/test_ex_mode.vim | 7 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/testdir/test_ex_mode.vim b/src/testdir/test_ex_mode.vim index 12e983f4b8..6969d5ec04 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 7d1c91b8cc..456f2d67c1 100644 --- 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, |