Mercurial > vim
view src/testdir/test_job_fails.vim @ 21590:5f4a188dead8 v8.2.1345
patch 8.2.1345: Redraw error when using visual block and scroll
Commit: https://github.com/vim/vim/commit/f8992d47cd50494c64bb733329067c9de3c75200
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 1 19:14:13 2020 +0200
patch 8.2.1345: Redraw error when using visual block and scroll
Problem: Redraw error when using visual block and scroll.
Solution: Add check for w_topline. ( closes https://github.com/vim/vim/issues/6597)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 01 Aug 2020 19:15:03 +0200 |
parents | b3e93a05c3ca |
children | 08940efa6b4e |
line wrap: on
line source
" This test is in a separate file, because it usually causes reports for memory " leaks under valgrind. That is because when fork/exec fails memory is not " freed. Since the process exits right away it's not a real leak. source shared.vim func Test_job_start_fails() if has('job') let job = job_start('axdfxsdf') if has('unix') call WaitForAssert({-> assert_equal("dead", job_status(job))}) else call WaitForAssert({-> assert_equal("fail", job_status(job))}) endif endif endfunc " vim: shiftwidth=2 sts=2 expandtab