view src/testdir/test_vim9_fails.vim @ 23322:68df9697667a v8.2.2206

patch 8.2.2206: :exe command line completion only works for first argument Commit: https://github.com/vim/vim/commit/4941b5effd7f6a26583a949c92ee50276a3b43f9 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 24 17:15:53 2020 +0100 patch 8.2.2206: :exe command line completion only works for first argument Problem: :exe command line completion only works for first argument. Solution: Skip over text if more is following. (closes https://github.com/vim/vim/issues/7546)
author Bram Moolenaar <Bram@vim.org>
date Thu, 24 Dec 2020 17:30:04 +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