comparison src/testdir/test_channel.vim @ 18943:d90138662f49 v8.2.0032

patch 8.2.0032: MS-Windows: test for blank job fails Commit: https://github.com/vim/vim/commit/7c2a2f869b0f5a3e36f5e7d83923a264426e434c Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 22 18:28:51 2019 +0100 patch 8.2.0032: MS-Windows: test for blank job fails Problem: MS-Windows: test for blank job fails Solution: Check before escaping.
author Bram Moolenaar <Bram@vim.org>
date Sun, 22 Dec 2019 18:30:03 +0100
parents 70d6614aaf28
children f2c8bc90f3c8
comparison
equal deleted inserted replaced
18942:8c248bf8692f 18943:d90138662f49
1960 1960
1961 func Test_empty_job() 1961 func Test_empty_job()
1962 " This was crashing on MS-Windows. 1962 " This was crashing on MS-Windows.
1963 call assert_fails('let job = job_start([""])', 'E474:') 1963 call assert_fails('let job = job_start([""])', 'E474:')
1964 call assert_fails('let job = job_start([" "])', 'E474:') 1964 call assert_fails('let job = job_start([" "])', 'E474:')
1965 call assert_fails('let job = job_start("")', 'E474:')
1966 call assert_fails('let job = job_start(" ")', 'E474:')
1965 endfunc 1967 endfunc
1966 1968
1967 " Do this last, it stops any channel log. 1969 " Do this last, it stops any channel log.
1968 func Test_zz_ch_log() 1970 func Test_zz_ch_log()
1969 call ch_logfile('Xlog', 'w') 1971 call ch_logfile('Xlog', 'w')