To: vim_dev@googlegroups.com Subject: Patch 7.4.1542 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.1542 Problem: job_start() with a list is not tested. Solution: Call job_start() with a list. Files: src/testdir/test_channel.vim *** ../vim-7.4.1541/src/testdir/test_channel.vim 2016-03-12 15:22:50.410535232 +0100 --- src/testdir/test_channel.vim 2016-03-12 15:38:01.357035358 +0100 *************** *** 492,498 **** return endif call ch_log('Test_nl_pipe()') ! let job = job_start(s:python . " test_channel_pipe.py") call assert_equal("run", job_status(job)) try let handle = job_getchannel(job) --- 492,498 ---- return endif call ch_log('Test_nl_pipe()') ! let job = job_start([s:python, "test_channel_pipe.py"]) call assert_equal("run", job_status(job)) try let handle = job_getchannel(job) *** ../vim-7.4.1541/src/version.c 2016-03-12 15:22:50.414535191 +0100 --- src/version.c 2016-03-12 15:38:50.136526823 +0100 *************** *** 745,746 **** --- 745,748 ---- { /* Add new patch number below this line */ + /**/ + 1542, /**/ -- I am also told that there is a logical proof out there somewhere that demonstrates that there is no task which duct tape cannot handle. -- Paul Brannan /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///