mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 18:06:30 +00:00
oldtest: Disable tests that :py(3)do stop executing when buffer changes
The current nvim <-> client handling of do_range needs to be adapted to handle these sorts of checks. See https://github.com/neovim/neovim/issues/8554
This commit is contained in:
@@ -13,12 +13,15 @@ func Test_py3do()
|
||||
py3do vim.command("%d_")
|
||||
bwipe!
|
||||
|
||||
" Check switching to another buffer does not trigger an ml_get error.
|
||||
new
|
||||
let wincount = winnr('$')
|
||||
call setline(1, ['one', 'two', 'three'])
|
||||
py3do vim.command("new")
|
||||
call assert_equal(wincount + 1, winnr('$'))
|
||||
bwipe!
|
||||
bwipe!
|
||||
" Disabled until neovim/neovim#8554 is resolved
|
||||
if 0
|
||||
" Check switching to another buffer does not trigger an ml_get error.
|
||||
new
|
||||
let wincount = winnr('$')
|
||||
call setline(1, ['one', 'two', 'three'])
|
||||
py3do vim.command("new")
|
||||
call assert_equal(wincount + 1, winnr('$'))
|
||||
bwipe!
|
||||
bwipe!
|
||||
endif
|
||||
endfunc
|
||||
|
Reference in New Issue
Block a user