diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-12-05 09:49:23 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-12-05 09:49:32 +0800 |
commit | 5d691a4669dd90a0e29dae699ccd845aca3ef667 (patch) | |
tree | 6adef9d7f9f490d0d5a03372267d3902046744fc | |
parent | b098e7971fdf8ed3f7d0c52aff0ce126c34ff3c8 (diff) | |
download | rneovim-5d691a4669dd90a0e29dae699ccd845aca3ef667.tar.gz rneovim-5d691a4669dd90a0e29dae699ccd845aca3ef667.tar.bz2 rneovim-5d691a4669dd90a0e29dae699ccd845aca3ef667.zip |
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>
-rw-r--r-- | src/nvim/testdir/test_clientserver.vim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_clientserver.vim b/src/nvim/testdir/test_clientserver.vim index 19a92dce3c..fdecda1800 100644 --- 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 |