comparison src/testdir/test_channel.vim @ 19195:2ef19eed524a v8.2.0156

patch 8.2.0156: various typos in source files and tests Commit: https://github.com/vim/vim/commit/4b96df5a017a04141c4e901b1fc5704a3ca48099 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 26 22:00:26 2020 +0100 patch 8.2.0156: various typos in source files and tests Problem: Various typos in source files and tests. Solution: Fix the typos. (Emir Sari, closes https://github.com/vim/vim/issues/5532)
author Bram Moolenaar <Bram@vim.org>
date Sun, 26 Jan 2020 22:15:05 +0100
parents f2c8bc90f3c8
children 2a017e9dc6da
comparison
equal deleted inserted replaced
19194:9986e645676b 19195:2ef19eed524a
18 " Add ch_log() calls where you want to see what happens. 18 " Add ch_log() calls where you want to see what happens.
19 " call ch_logfile('channellog', 'w') 19 " call ch_logfile('channellog', 'w')
20 20
21 let s:chopt = {} 21 let s:chopt = {}
22 22
23 " Run "testfunc" after sarting the server and stop the server afterwards. 23 " Run "testfunc" after starting the server and stop the server afterwards.
24 func s:run_server(testfunc, ...) 24 func s:run_server(testfunc, ...)
25 call RunServer('test_channel.py', a:testfunc, a:000) 25 call RunServer('test_channel.py', a:testfunc, a:000)
26 endfunc 26 endfunc
27 27
28 " Return a list of open files. 28 " Return a list of open files.
423 call assert_true(reltimefloat(elapsed) < 1.0) 423 call assert_true(reltimefloat(elapsed) < 1.0)
424 endif 424 endif
425 425
426 " We intend to use a socket that doesn't exist and wait for half a second 426 " We intend to use a socket that doesn't exist and wait for half a second
427 " before giving up. If the socket does exist it can fail in various ways. 427 " before giving up. If the socket does exist it can fail in various ways.
428 " Check for "Connection reset by peer" to avoid flakyness. 428 " Check for "Connection reset by peer" to avoid flakiness.
429 let start = reltime() 429 let start = reltime()
430 try 430 try
431 let handle = ch_open('localhost:9867', {'waittime': 500}) 431 let handle = ch_open('localhost:9867', {'waittime': 500})
432 if ch_status(handle) != "fail" 432 if ch_status(handle) != "fail"
433 " Oops, port does exists. 433 " Oops, port does exists.