mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
test: unskip more terminal tests on Windows (#26315)
This commit is contained in:
parent
62dff43947
commit
85be914879
@ -261,7 +261,6 @@ describe(':terminal buffer', function()
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
it('it works with set rightleft #11438', function()
|
it('it works with set rightleft #11438', function()
|
||||||
skip(is_os('win'))
|
|
||||||
local columns = eval('&columns')
|
local columns = eval('&columns')
|
||||||
feed(string.rep('a', columns))
|
feed(string.rep('a', columns))
|
||||||
command('set rightleft')
|
command('set rightleft')
|
||||||
|
@ -600,21 +600,24 @@ describe("pending scrollback line handling", function()
|
|||||||
assert_alive()
|
assert_alive()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
it("does not crash after nvim_buf_call #14891", function()
|
it('does not crash after nvim_buf_call #14891', function()
|
||||||
skip(is_os('win'))
|
exec_lua([[
|
||||||
exec_lua [[
|
|
||||||
local bufnr = vim.api.nvim_create_buf(false, true)
|
local bufnr = vim.api.nvim_create_buf(false, true)
|
||||||
|
local args = ...
|
||||||
vim.api.nvim_buf_call(bufnr, function()
|
vim.api.nvim_buf_call(bufnr, function()
|
||||||
vim.fn.termopen({"echo", ("hi\n"):rep(11)})
|
vim.fn.termopen(args)
|
||||||
end)
|
end)
|
||||||
vim.api.nvim_win_set_buf(0, bufnr)
|
vim.api.nvim_win_set_buf(0, bufnr)
|
||||||
vim.cmd("startinsert")
|
vim.cmd('startinsert')
|
||||||
]]
|
]], is_os('win')
|
||||||
|
and {'cmd.exe', '/c', 'for /L %I in (1,1,12) do @echo hi'}
|
||||||
|
or {'printf', ('hi\n'):rep(12)}
|
||||||
|
)
|
||||||
screen:expect [[
|
screen:expect [[
|
||||||
hi |
|
hi |
|
||||||
hi |
|
hi |
|
||||||
hi |
|
hi |
|
||||||
|
|
hi |
|
||||||
|
|
|
|
||||||
[Process exited 0]{2: } |
|
[Process exited 0]{2: } |
|
||||||
{3:-- TERMINAL --} |
|
{3:-- TERMINAL --} |
|
||||||
|
Loading…
Reference in New Issue
Block a user