Mercurial > vim
view src/testdir/test_vim9_fails.vim @ 22778:3ec5f653f64d v8.2.1937
patch 8.2.1937: Vim9: test for confirm modifier fails in some situations
Commit: https://github.com/vim/vim/commit/645cd3eb1fae784579fab11feea634bfaff9af49
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 1 20:04:57 2020 +0100
patch 8.2.1937: Vim9: test for confirm modifier fails in some situations
Problem: Vim9: test for confirm modifier fails in some situations.
Solution: Add a short wait. Handle failure better.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 01 Nov 2020 20:15:03 +0100 |
parents | a3df1fb28d44 |
children | 744fdb15347d |
line wrap: on
line source
" Test for Vim9 script with failures, causing memory leaks to be reported. " The leaks happen after a fork() and can be ignored. def Test_assignment() if has('channel') var chan1: channel var job1: job var job2: job = job_start('willfail') endif enddef