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

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

4d57ba0202

Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
zeertzjq
2022-12-05 09:49:23 +08:00
parent b098e7971f
commit 5d691a4669

View File

@@ -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