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:
James McCoy
2018-06-27 08:03:46 -04:00
parent da6874a7b2
commit 9946a5ebd9
2 changed files with 22 additions and 16 deletions

View File

@@ -13,12 +13,15 @@ func Test_pydo()
pydo vim.command("%d_")
bwipe!
" Check switching to another buffer does not trigger ml_get error.
new
let wincount = winnr('$')
call setline(1, ['one', 'two', 'three'])
pydo 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 ml_get error.
new
let wincount = winnr('$')
call setline(1, ['one', 'two', 'three'])
pydo vim.command("new")
call assert_equal(wincount + 1, winnr('$'))
bwipe!
bwipe!
endif
endfunc