Mercurial > vim
comparison src/testdir/test_channel.vim @ 8070:e4c3f6720b03 v7.4.1329
commit https://github.com/vim/vim/commit/5cefd4098204b4677387511b586673649f2fab48
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 16 12:44:26 2016 +0100
patch 7.4.1329
Problem: Crash when using channel that failed to open.
Solution: Check for NULL. Update messages. (Yukihiro Nakadaira)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 16 Feb 2016 12:45:05 +0100 |
parents | 1aa8ed4ee48b |
children | dc32c8026899 |
comparison
equal
deleted
inserted
replaced
8069:0df672ac12da | 8070:e4c3f6720b03 |
---|---|
316 endfunc | 316 endfunc |
317 | 317 |
318 func Test_unlet_handle() | 318 func Test_unlet_handle() |
319 call s:run_server('s:unlet_handle') | 319 call s:run_server('s:unlet_handle') |
320 endfunc | 320 endfunc |
321 | |
322 func Test_open_fail() | |
323 silent! let ch = ch_open("noserver") | |
324 echo ch | |
325 let d = ch | |
326 endfunc |