I checked test_channel.vim on OS X 10.11.3;

ch_open('localhost' . s:port) fails by timeout, so s:start_server() returns 
(channel)-1 and s:kill_server() doesn't execute.

patch:
I propose to use try-finally to execute s:kill_server().
https://gist.github.com/ichizok/3820b16b7198847e75c7

And, on OS X, ch_open() needs option waittime > 0 to pass test_channel.

patch:
use waittime option
https://gist.github.com/ichizok/30ae71b0e12b85a1f864

Thank you.
- Ozaki Kiichi

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui