neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 1e6c4ea896b784754cb0ba18ea510a9c407ab54c
parent ed4c549ea2436b820860c3453d348c84d441de9b
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Sat, 31 Jan 2026 08:25:48 +0800

test: add reasons to some skipped tests (#37632)


Diffstat:
Mtest/functional/autocmd/termxx_spec.lua | 4++--
Mtest/functional/ex_cmds/cd_spec.lua | 2+-
Mtest/functional/ex_cmds/swapfile_preserve_recover_spec.lua | 2+-
Mtest/functional/ui/embed_spec.lua | 2+-
Mtest/functional/ui/messages_spec.lua | 2+-
5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/test/functional/autocmd/termxx_spec.lua b/test/functional/autocmd/termxx_spec.lua @@ -92,7 +92,7 @@ describe('autocmd TermClose', function() end) it('kills job trapping SIGTERM', function() - skip(is_os('win')) + skip(is_os('win'), 'N/A for Windows') api.nvim_set_option_value('shell', 'sh', {}) api.nvim_set_option_value('shellcmdflag', '-c', {}) command( @@ -118,7 +118,7 @@ describe('autocmd TermClose', function() end) it('kills PTY job trapping SIGHUP and SIGTERM', function() - skip(is_os('win')) + skip(is_os('win'), 'N/A for Windows') api.nvim_set_option_value('shell', 'sh', {}) api.nvim_set_option_value('shellcmdflag', '-c', {}) command( diff --git a/test/functional/ex_cmds/cd_spec.lua b/test/functional/ex_cmds/cd_spec.lua @@ -294,7 +294,7 @@ describe('getcwd()', function() end) it('returns empty string if working directory does not exist', function() - skip(is_os('win')) + skip(is_os('win'), 'N/A for Windows') command('cd ' .. directories.global) command("call delete('../" .. directories.global .. "', 'd')") eq('', n.eval('getcwd()')) diff --git a/test/functional/ex_cmds/swapfile_preserve_recover_spec.lua b/test/functional/ex_cmds/swapfile_preserve_recover_spec.lua @@ -114,7 +114,7 @@ describe("preserve and (R)ecover with custom 'directory'", function() end) it('killing TUI process without :preserve #22096', function() - t.skip(t.is_os('win')) + t.skip(t.is_os('win'), 'n.connect() hangs on Windows') local screen0 = Screen.new() local child_server = new_pipename() fn.jobstart({ nvim_prog, '-u', 'NONE', '-i', 'NONE', '--listen', child_server }, { diff --git a/test/functional/ui/embed_spec.lua b/test/functional/ui/embed_spec.lua @@ -284,7 +284,7 @@ describe('--embed UI', function() end) it('closing stdio with another remote UI does not leak memory #36392', function() - t.skip(t.is_os('win')) -- n.connect() hangs on Windows + t.skip(t.is_os('win'), 'n.connect() hangs on Windows') clear({ args_rm = { '--headless' } }) Screen.new() eq(1, #api.nvim_list_uis()) diff --git a/test/functional/ui/messages_spec.lua b/test/functional/ui/messages_spec.lua @@ -3113,7 +3113,7 @@ aliquip ex ea commodo consequat.]] end) it('pager works in headless mode with UI attached', function() - skip(is_os('win')) + skip(is_os('win'), 'n.connect() hangs on Windows') clear() local child_server = assert(n.new_pipename()) fn.jobstart({ nvim_prog, '--clean', '--headless', '--listen', child_server })