Mercurial > vim
diff src/testdir/test_channel.vim @ 8124:310dd635e8c9 v7.4.1356
commit https://github.com/vim/vim/commit/40ea1da14ba196a23309789852e1b663fd92e3a8
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 19 22:33:35 2016 +0100
patch 7.4.1356
Problem: Job and channel options parsing is scattered.
Solution: Move all option value parsing to get_job_options();
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 19 Feb 2016 22:45:04 +0100 |
parents | 1f28be191fab |
children | 3462f9cfedf8 |
line wrap: on
line diff
--- a/src/testdir/test_channel.vim +++ b/src/testdir/test_channel.vim @@ -144,6 +144,12 @@ func s:communicate(port) endif call assert_equal('got it', s:responseMsg) + " check setting options (without testing the effect) + call ch_setoptions(handle, {'callback': 's:NotUsed'}) + call ch_setoptions(handle, {'timeout': 111}) + call assert_fails("call ch_setoptions(handle, {'waittime': 111})", "E475") + call assert_fails("call ch_setoptions(handle, {'mode': 'json'})", "E475") + " Send an eval request that works. call assert_equal('ok', ch_sendexpr(handle, 'eval-works')) sleep 10m