diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-12-22 18:28:51 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-12-22 18:28:51 +0100 |
commit | 7c2a2f869b0f5a3e36f5e7d83923a264426e434c (patch) | |
tree | f0ef19e02e508db5269418b1b67bd86a7861c0b5 /src/testdir/test_channel.vim | |
parent | ba0a7475c52ea0ba9e083934bd328fbcbfa8d532 (diff) | |
download | vim-git-7c2a2f869b0f5a3e36f5e7d83923a264426e434c.tar.gz |
patch 8.2.0032: MS-Windows: test for blank job failsv8.2.0032
Problem: MS-Windows: test for blank job fails
Solution: Check before escaping.
Diffstat (limited to 'src/testdir/test_channel.vim')
-rw-r--r-- | src/testdir/test_channel.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testdir/test_channel.vim b/src/testdir/test_channel.vim index a7c40098d..4dac7aaef 100644 --- a/src/testdir/test_channel.vim +++ b/src/testdir/test_channel.vim @@ -1962,6 +1962,8 @@ func Test_empty_job() " This was crashing on MS-Windows. call assert_fails('let job = job_start([""])', 'E474:') call assert_fails('let job = job_start([" "])', 'E474:') + call assert_fails('let job = job_start("")', 'E474:') + call assert_fails('let job = job_start(" ")', 'E474:') endfunc " Do this last, it stops any channel log. |