commit | 5cefd4098204b4677387511b586673649f2fab48 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Feb 16 12:44:26 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Feb 16 12:44:26 2016 +0100 |
tree | 38f2c816c39b9897c265b168d789e980e3a4cc61 | |
parent | 12dcf024e90ab511f04a08b20fe7eedbe92096d2 [diff] [blame] |
patch 7.4.1329 Problem: Crash when using channel that failed to open. Solution: Check for NULL. Update messages. (Yukihiro Nakadaira)
diff --git a/src/testdir/test_channel.vim b/src/testdir/test_channel.vim index e7448fa..7cc3f14 100644 --- a/src/testdir/test_channel.vim +++ b/src/testdir/test_channel.vim
@@ -318,3 +318,9 @@ func Test_unlet_handle() call s:run_server('s:unlet_handle') endfunc + +func Test_open_fail() + silent! let ch = ch_open("noserver") + echo ch + let d = ch +endfunc