aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-03-03 16:07:39 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-03-03 16:07:39 +0800
commitf8b3a1691faa769c8a57b438eeac8c1cff848444 (patch)
tree2c706261d0b281c2e9971a35b309e02d063dc6dc
parentf9db491a643619844b88628c8afb9a30576eb1e5 (diff)
downloadrneovim-f8b3a1691faa769c8a57b438eeac8c1cff848444.tar.gz
rneovim-f8b3a1691faa769c8a57b438eeac8c1cff848444.tar.bz2
rneovim-f8b3a1691faa769c8a57b438eeac8c1cff848444.zip
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"')