mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
test: use helpers.pending_win32(pending) in buffer_updates_spec
This commit is contained in:
parent
f9db491a64
commit
f8b3a1691f
@ -7,7 +7,6 @@ local nvim_prog = helpers.nvim_prog
|
|||||||
local pcall_err = helpers.pcall_err
|
local pcall_err = helpers.pcall_err
|
||||||
local sleep = helpers.sleep
|
local sleep = helpers.sleep
|
||||||
local write_file = helpers.write_file
|
local write_file = helpers.write_file
|
||||||
local iswin = helpers.iswin
|
|
||||||
|
|
||||||
local origlines = {"original line 1",
|
local origlines = {"original line 1",
|
||||||
"original line 2",
|
"original line 2",
|
||||||
@ -824,11 +823,11 @@ describe('API: buffer events:', function()
|
|||||||
end
|
end
|
||||||
msg = next_msg()
|
msg = next_msg()
|
||||||
end
|
end
|
||||||
-- FIXME: Windows
|
assert(false, 'did not match/receive expected nvim_buf_lines_event lines')
|
||||||
assert(iswin(), 'did not match/receive expected nvim_buf_lines_event lines')
|
|
||||||
end
|
end
|
||||||
|
|
||||||
it('when :terminal lines change', function()
|
it('when :terminal lines change', function()
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
local buffer_lines = {}
|
local buffer_lines = {}
|
||||||
local expected_lines = {}
|
local expected_lines = {}
|
||||||
command('terminal "'..nvim_prog..'" -u NONE -i NONE -n -c "set shortmess+=A"')
|
command('terminal "'..nvim_prog..'" -u NONE -i NONE -n -c "set shortmess+=A"')
|
||||||
|
Loading…
Reference in New Issue
Block a user