view src/testdir/test_vim9_fails.vim @ 24039:a5478836fcb7 v8.2.2561

patch 8.2.2561: not all textprop code is covered by tests Commit: https://github.com/vim/vim/commit/3dc3474f00e529b014add48f7f3d1dad2ec15498 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Mar 2 13:36:47 2021 +0100 patch 8.2.2561: not all textprop code is covered by tests Problem: Not all textprop code is covered by tests. Solution: Add a few more test cases. (Dominique Pell?, closes https://github.com/vim/vim/issues/7908)
author Bram Moolenaar <Bram@vim.org>
date Tue, 02 Mar 2021 13:45:05 +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