Merge pull request #17584 from zeertzjq/test-pending-win32

test: use helpers.pending_win32(pending) in buffer_updates_spec
This commit is contained in:
zeertzjq 2022-03-03 16:39:24 +08:00 committed by GitHub
commit 7211d8ef21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,6 @@ local nvim_prog = helpers.nvim_prog
local pcall_err = helpers.pcall_err
local sleep = helpers.sleep
local write_file = helpers.write_file
local iswin = helpers.iswin
local origlines = {"original line 1",
"original line 2",
@ -824,11 +823,11 @@ describe('API: buffer events:', function()
end
msg = next_msg()
end
-- FIXME: Windows
assert(iswin(), 'did not match/receive expected nvim_buf_lines_event lines')
assert(false, 'did not match/receive expected nvim_buf_lines_event lines')
end
it('when :terminal lines change', function()
if helpers.pending_win32(pending) then return end
local buffer_lines = {}
local expected_lines = {}
command('terminal "'..nvim_prog..'" -u NONE -i NONE -n -c "set shortmess+=A"')