vim-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: vim/vim#15120

248efab9b5

Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2026-02-28 07:04:24 +08:00
parent 453dfbf7d6
commit 6ce964aed6

View File

@@ -359,6 +359,14 @@ func Test_backslash_multiline()
\
.', "xt")
call assert_equal(["", "enum"], getline(1, 2))
endfunc
" Test using backslash in ex-mode after patch 9.1.0535
func Test_backslash_multiline2()
throw 'Skipped: Nvim only supports Vim Ex mode'
new
call feedkeys('Qa
X \\
Y
.', "xt")
call assert_equal(['X \\', "Y"], getline(1, 2))