aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-03-03 16:39:24 +0800
committerGitHub <noreply@github.com>2022-03-03 16:39:24 +0800
commit7211d8ef21cd93365c5f0582c5a0115e84c011ce (patch)
tree2c706261d0b281c2e9971a35b309e02d063dc6dc
parentf9db491a643619844b88628c8afb9a30576eb1e5 (diff)
parentf8b3a1691faa769c8a57b438eeac8c1cff848444 (diff)
downloadrneovim-7211d8ef21cd93365c5f0582c5a0115e84c011ce.tar.gz
rneovim-7211d8ef21cd93365c5f0582c5a0115e84c011ce.tar.bz2
rneovim-7211d8ef21cd93365c5f0582c5a0115e84c011ce.zip
Merge pull request #17584 from zeertzjq/test-pending-win32
test: use helpers.pending_win32(pending) in buffer_updates_spec
-rw-r--r--test/functional/api/buffer_updates_spec.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/functional/api/buffer_updates_spec.lua b/test/functional/api/buffer_updates_spec.lua
index e9ad756947..fc09e4cde0 100644
--- a/test/functional/api/buffer_updates_spec.lua
+++ b/test/functional/api/buffer_updates_spec.lua
@@ -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"')