Mercurial > vim
diff src/testdir/test_channel.vim @ 8471:c1aae3a79279 v7.4.1526
commit https://github.com/vim/vim/commit/d5d3d307ddb824f59a2f2516c4b6a6d48762aa58
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 9 20:54:51 2016 +0100
patch 7.4.1526
Problem: Writing to file and not connecting a channel doesn't work for
MS-Windows.
Solution: Make it work. (Yasuhiro Matsumoto)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 09 Mar 2016 21:00:05 +0100 |
parents | 5927180d0b4d |
children | c08c6d19db4d |
line wrap: on
line diff
--- a/src/testdir/test_channel.vim +++ b/src/testdir/test_channel.vim @@ -550,10 +550,6 @@ func Test_nl_write_out_file() if !has('job') return endif - " TODO: make this work for MS-Windows - if !has('unix') - return - endif call ch_log('Test_nl_write_out_file()') let job = job_start(s:python . " test_channel_pipe.py", \ {'out-io': 'file', 'out-name': 'Xoutput'}) @@ -575,10 +571,6 @@ func Test_nl_write_err_file() if !has('job') return endif - " TODO: make this work for MS-Windows - if !has('unix') - return - endif call ch_log('Test_nl_write_err_file()') let job = job_start(s:python . " test_channel_pipe.py", \ {'err-io': 'file', 'err-name': 'Xoutput'}) @@ -600,10 +592,6 @@ func Test_nl_write_both_file() if !has('job') return endif - " TODO: make this work for MS-Windows - if !has('unix') - return - endif call ch_log('Test_nl_write_both_file()') let job = job_start(s:python . " test_channel_pipe.py", \ {'out-io': 'file', 'out-name': 'Xoutput', 'err-io': 'out'}) @@ -838,10 +826,6 @@ func Test_pipe_null() if !has('job') return endif - " TODO: implement this for MS-Windows - if !has('unix') - return - endif call ch_log('Test_pipe_null()') " We cannot check that no I/O works, we only check that the job starts