diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-12-22 16:09:06 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-12-22 16:09:06 +0100 |
commit | ba0a7475c52ea0ba9e083934bd328fbcbfa8d532 (patch) | |
tree | ba830746e37547f07efa64c68528eee1f77f225b /src/testdir/test_channel.vim | |
parent | 64e74c9cc7d5aab215cf72d9bdd3aac32e128191 (diff) |
patch 8.2.0031: MS-Windows: test for empty job failsv8.2.0031
Problem: MS-Windows: test for empty job fails
Solution: Check for error message, make it also fail on Unix.
Diffstat (limited to 'src/testdir/test_channel.vim')
-rw-r--r-- | src/testdir/test_channel.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_channel.vim b/src/testdir/test_channel.vim index 24a7ae454f..a7c40098d8 100644 --- a/src/testdir/test_channel.vim +++ b/src/testdir/test_channel.vim @@ -1960,8 +1960,8 @@ endfunc func Test_empty_job() " This was crashing on MS-Windows. - let job = job_start([""]) - call WaitForAssert({-> assert_equal("dead", job_status(job))}) + 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. |