neovim

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

commit 65141153d9f0d15301929dd28472a023dc5fa53c
parent ad438b6b14afec61821e21705f9e7ac0651ab9cb
Author: Justin M. Keyes <justinkz@gmail.com>
Date:   Tue,  2 Dec 2025 01:06:40 -0500

Merge #36792 unreliable tests


Diffstat:
Mtest/functional/fixtures/shell-test.c | 5+++--
Mtest/functional/terminal/channel_spec.lua | 6++++--
2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/test/functional/fixtures/shell-test.c b/test/functional/fixtures/shell-test.c @@ -66,9 +66,10 @@ int main(int argc, char **argv) } } } else if (strcmp(argv[1], "EXE") == 0) { - fprintf(stderr, "ready $ "); if (argc >= 3) { - fprintf(stderr, "%s\n", argv[2]); + fprintf(stderr, "ready $ %s\n", argv[2]); + } else { + fprintf(stderr, "ready $ "); } } else if (strcmp(argv[1], "REP") == 0) { if (argc != 4) { diff --git a/test/functional/terminal/channel_spec.lua b/test/functional/terminal/channel_spec.lua @@ -92,7 +92,9 @@ describe('terminal channel is closed and later released if', function() poke_eventloop() feed('<Ignore>') -- add input to separate two RPC requests -- channel has been released after another main loop iteration - eq(chans - 1, eval('len(nvim_list_chans())')) + t.retry(20, nil, function() + eq(chans - 1, eval('len(nvim_list_chans())')) + end) end) -- This indirectly covers #16264 @@ -146,7 +148,7 @@ describe('no crash when TermOpen autocommand', function() screen = Screen.new(60, 4) end) - it('processes job exit event when using jobstart(…,{term=true})', function() + it('processes job exit event on jobstart(…,{term=true})', function() command([[autocmd TermOpen * call input('')]]) async_meths.nvim_command('terminal foobar') screen:expect([[