neovim

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

commit 5d691a4669dd90a0e29dae699ccd845aca3ef667
parent b098e7971fdf8ed3f7d0c52aff0ce126c34ff3c8
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Mon,  5 Dec 2022 09:49:23 +0800

vim-patch:8.2.1195: clientserver test fails on MS-Windows

Problem:    Clientserver test fails on MS-Windows.
Solution:   Expect a different error message.

https://github.com/vim/vim/commit/4d57ba02029071e5947a54766e9f5d42e3bb3008

Co-authored-by: Bram Moolenaar <Bram@vim.org>

Diffstat:
Msrc/nvim/testdir/test_clientserver.vim | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/nvim/testdir/test_clientserver.vim b/src/nvim/testdir/test_clientserver.vim @@ -184,8 +184,10 @@ func Test_client_server() call assert_fails('call remote_startserver([])', 'E730:') call assert_fails("let x = remote_peek([])", 'E730:') - call assert_fails("let x = remote_read('vim10')", ['E573:.*vim10']) - call assert_fails("call server2client('abc', 'xyz')", ['E573:.*abc']) + call assert_fails("let x = remote_read('vim10')", + \ [has('unix') ? 'E573:.*vim10' : 'E277:.*vim10']) + call assert_fails("call server2client('abc', 'xyz')", + \ [has('unix') ? 'E573:.*abc' : 'E258:.*abc']) endfunc " Uncomment this line to get a debugging log