Mercurial > vim
comparison src/testdir/test_channel.vim @ 10524:095c9abae4ff v8.0.0152
commit https://github.com/vim/vim/commit/04e94c788175c83be8a78372b0ed6c332969edff
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 8 13:38:58 2017 +0100
patch 8.0.0152: stray channellog created when running tests
Problem: Running the channel test creates channellog.
Solution: Delete the debug line.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 08 Jan 2017 13:45:04 +0100 |
parents | f5c7c76897fa |
children | c31782d57569 |
comparison
equal
deleted
inserted
replaced
10523:6249f22d07b1 | 10524:095c9abae4ff |
---|---|
277 call WaitFor('"we did call you" == g:Ch_reply') | 277 call WaitFor('"we did call you" == g:Ch_reply') |
278 call assert_equal('we did call you', g:Ch_reply) | 278 call assert_equal('we did call you', g:Ch_reply) |
279 endfunc | 279 endfunc |
280 | 280 |
281 func Test_channel_handler() | 281 func Test_channel_handler() |
282 call ch_logfile('channellog', 'w') | |
283 call ch_log('Test_channel_handler()') | 282 call ch_log('Test_channel_handler()') |
284 let g:Ch_reply = "" | 283 let g:Ch_reply = "" |
285 let s:chopt.callback = 'Ch_handler' | 284 let s:chopt.callback = 'Ch_handler' |
286 call s:run_server('Ch_channel_handler') | 285 call s:run_server('Ch_channel_handler') |
287 let g:Ch_reply = "" | 286 let g:Ch_reply = "" |