aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/inccommand_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-07 04:47:18 +0800
committerGitHub <noreply@github.com>2022-07-07 04:47:18 +0800
commit664efa497e4e3d79d2e4ab486acbf1471b2389b0 (patch)
tree389a04a3846cf3d5df7464b03294be48302ee09e /test/functional/ui/inccommand_spec.lua
parent1e03255646be3a31d44db4118ee2194d45f6bf1c (diff)
downloadrneovim-664efa497e4e3d79d2e4ab486acbf1471b2389b0.tar.gz
rneovim-664efa497e4e3d79d2e4ab486acbf1471b2389b0.tar.bz2
rneovim-664efa497e4e3d79d2e4ab486acbf1471b2389b0.zip
vim-patch:8.2.0614: get ml_get error when deleting a line in 'completefunc' (#19244)
Problem: Get ml_get error when deleting a line in 'completefunc'. (Yegappan Lakshmanan) Solution: Lock the text while evaluating 'completefunc'. https://github.com/vim/vim/commit/ff06f283e3e4b3ec43012dd3b83f8454c98f6639 Fix a mistake in the porting of patch 8.1.0098. Cherry-pick Test_run_excmd_with_text_locked() from patch 8.2.0270. Cherry-pick test_gf.vim changes from patch 8.2.0369. Cherry-pick message change from later patches.
Diffstat (limited to 'test/functional/ui/inccommand_spec.lua')
-rw-r--r--test/functional/ui/inccommand_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/ui/inccommand_spec.lua b/test/functional/ui/inccommand_spec.lua
index 4286446af7..d8dd546a8d 100644
--- a/test/functional/ui/inccommand_spec.lua
+++ b/test/functional/ui/inccommand_spec.lua
@@ -1778,11 +1778,11 @@ describe("'inccommand' and :cnoremap", function()
feed_command("cnoremap <expr> x execute('bwipeout!')[-1].'x'")
feed(":%s/tw/tox<enter>")
- screen:expect{any=[[{14:^E523:]]}
+ screen:expect{any=[[{14:^E565:]]}
feed('<c-c>')
-- error thrown b/c of the mapping
- neq(nil, eval('v:errmsg'):find('^E523:'))
+ neq(nil, eval('v:errmsg'):find('^E565:'))
expect([[
Inc substitution on
toxo lines