mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 11:25:33 +00:00
Merge pull request #8650 from jamessan/skip-pydo-tests
oldtest: Disable tests that :py(3)do stop executing when buffer changes
This commit is contained in:
@@ -13,12 +13,15 @@ func Test_pydo()
|
|||||||
pydo vim.command("%d_")
|
pydo vim.command("%d_")
|
||||||
bwipe!
|
bwipe!
|
||||||
|
|
||||||
" Check switching to another buffer does not trigger ml_get error.
|
" Disabled until neovim/neovim#8554 is resolved
|
||||||
new
|
if 0
|
||||||
let wincount = winnr('$')
|
" Check switching to another buffer does not trigger ml_get error.
|
||||||
call setline(1, ['one', 'two', 'three'])
|
new
|
||||||
pydo vim.command("new")
|
let wincount = winnr('$')
|
||||||
call assert_equal(wincount + 1, winnr('$'))
|
call setline(1, ['one', 'two', 'three'])
|
||||||
bwipe!
|
pydo vim.command("new")
|
||||||
bwipe!
|
call assert_equal(wincount + 1, winnr('$'))
|
||||||
|
bwipe!
|
||||||
|
bwipe!
|
||||||
|
endif
|
||||||
endfunc
|
endfunc
|
||||||
|
|||||||
@@ -13,12 +13,15 @@ func Test_py3do()
|
|||||||
py3do vim.command("%d_")
|
py3do vim.command("%d_")
|
||||||
bwipe!
|
bwipe!
|
||||||
|
|
||||||
" Check switching to another buffer does not trigger an ml_get error.
|
" Disabled until neovim/neovim#8554 is resolved
|
||||||
new
|
if 0
|
||||||
let wincount = winnr('$')
|
" Check switching to another buffer does not trigger an ml_get error.
|
||||||
call setline(1, ['one', 'two', 'three'])
|
new
|
||||||
py3do vim.command("new")
|
let wincount = winnr('$')
|
||||||
call assert_equal(wincount + 1, winnr('$'))
|
call setline(1, ['one', 'two', 'three'])
|
||||||
bwipe!
|
py3do vim.command("new")
|
||||||
bwipe!
|
call assert_equal(wincount + 1, winnr('$'))
|
||||||
|
bwipe!
|
||||||
|
bwipe!
|
||||||
|
endif
|
||||||
endfunc
|
endfunc
|
||||||
|
|||||||
Reference in New Issue
Block a user