test: unskip working Windows tests (#22537)

Some tests that were previously not working have started to work again
for unspecified reasons, so let's enable them.
This commit is contained in:
dundargoc
2023-03-13 04:15:24 +01:00
committed by GitHub
parent 2daf0b37db
commit b466e1d289
4 changed files with 0 additions and 8 deletions

View File

@@ -88,7 +88,6 @@ describe('jobs', function()
end) end)
it('append environment with pty #env', function() it('append environment with pty #env', function()
skip(is_os('win'))
nvim('command', "let $VAR = 'abc'") nvim('command', "let $VAR = 'abc'")
nvim('command', "let $TOTO = 'goodbye world'") nvim('command', "let $TOTO = 'goodbye world'")
nvim('command', "let g:job_opts.pty = v:true") nvim('command', "let g:job_opts.pty = v:true")
@@ -806,7 +805,6 @@ describe('jobs', function()
end) end)
it('can be called recursively', function() it('can be called recursively', function()
skip(is_os('win'), "TODO: Need `cat`")
source([[ source([[
let g:opts = {} let g:opts = {}
let g:counter = 0 let g:counter = 0

View File

@@ -68,7 +68,6 @@ describe(':terminal mouse', function()
end) end)
it('does not leave terminal mode on left-release', function() it('does not leave terminal mode on left-release', function()
skip(is_os('win'))
feed('<LeftRelease>') feed('<LeftRelease>')
eq('t', eval('mode(1)')) eq('t', eval('mode(1)'))
end) end)
@@ -232,7 +231,6 @@ describe(':terminal mouse', function()
end) end)
describe('with a split window and other buffer', function() describe('with a split window and other buffer', function()
skip(is_os('win'))
before_each(function() before_each(function()
feed('<c-\\><c-n>:vsp<cr>') feed('<c-\\><c-n>:vsp<cr>')
screen:expect([[ screen:expect([[

View File

@@ -140,7 +140,6 @@ describe(':terminal scrollback', function()
describe('and height decreased by 1', function() describe('and height decreased by 1', function()
if skip(is_os('win')) then return end
local function will_hide_top_line() local function will_hide_top_line()
feed([[<C-\><C-N>]]) feed([[<C-\><C-N>]])
screen:try_resize(screen._width - 2, screen._height - 1) screen:try_resize(screen._width - 2, screen._height - 1)
@@ -347,7 +346,6 @@ end)
describe(':terminal prints more lines than the screen height and exits', function() describe(':terminal prints more lines than the screen height and exits', function()
it('will push extra lines to scrollback', function() it('will push extra lines to scrollback', function()
skip(is_os('win'))
clear() clear()
local screen = Screen.new(30, 7) local screen = Screen.new(30, 7)
screen:attach({rgb=false}) screen:attach({rgb=false})

View File

@@ -7,7 +7,6 @@ local exec_lua = helpers.exec_lua
local pcall_err = helpers.pcall_err local pcall_err = helpers.pcall_err
local feed = helpers.feed local feed = helpers.feed
local is_os = helpers.is_os local is_os = helpers.is_os
local skip = helpers.skip
before_each(clear) before_each(clear)
@@ -741,7 +740,6 @@ int x = INT_MAX;
end) end)
it("should not inject bad languages", function() it("should not inject bad languages", function()
skip(is_os('win'))
exec_lua([=[ exec_lua([=[
vim.treesitter.add_directive("inject-bad!", function(match, _, _, pred, metadata) vim.treesitter.add_directive("inject-bad!", function(match, _, _, pred, metadata)
metadata.language = "{" metadata.language = "{"