view src/testdir/test_vim9_fails.vim @ 23211:96a72f1f6c0c v8.2.2151

patch 8.2.2151: $dir not expanded when configure checks for moonjit Commit: https://github.com/vim/vim/commit/a79a8944dade9115ccaa5a06a076dfb257e56c62 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 17 20:50:25 2020 +0100 patch 8.2.2151: $dir not expanded when configure checks for moonjit Problem: $dir not expanded when configure checks for moonjit. Solution: Use double quotes instead of single quotes. (closes https://github.com/vim/vim/issues/7478)
author Bram Moolenaar <Bram@vim.org>
date Thu, 17 Dec 2020 21:00: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