From ee944ef10387f70bdf0baae10dfdcbe7e19ab035 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Mon, 5 Dec 2022 09:49:38 +0800 Subject: vim-patch:8.2.1197: clientserver test still fails on MS-Windows Problem: Clientserver test still fails on MS-Windows. Solution: Expect a different error message. https://github.com/vim/vim/commit/c212dd0a346d57f62013094ea6861eb28e33023c Co-authored-by: Bram Moolenaar --- src/nvim/testdir/test_clientserver.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/nvim/testdir/test_clientserver.vim b/src/nvim/testdir/test_clientserver.vim index fdecda1800..5a88c7fed1 100644 --- a/src/nvim/testdir/test_clientserver.vim +++ b/src/nvim/testdir/test_clientserver.vim @@ -185,9 +185,9 @@ 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')", - \ [has('unix') ? 'E573:.*vim10' : 'E277:.*vim10']) + \ has('unix') ? ['E573:.*vim10'] : 'E277:') call assert_fails("call server2client('abc', 'xyz')", - \ [has('unix') ? 'E573:.*abc' : 'E258:.*abc']) + \ has('unix') ? ['E573:.*abc'] : 'E258:') endfunc " Uncomment this line to get a debugging log -- cgit