view src/testdir/test_vim9_fails.vim @ 26109:efc174960b10 v8.2.3587

patch 8.2.3587: compiler test fails with backslash file separator Commit: https://github.com/vim/vim/commit/0a15c7676bccb0c9483579106318e785c6e40a7f Author: Bram Moolenaar <Bram@vim.org> Date: Fri Nov 12 16:09:54 2021 +0000 patch 8.2.3587: compiler test fails with backslash file separator Problem: Compiler test fails with backslash file separator. Solution: Accept slash and backslash.
author Bram Moolenaar <Bram@vim.org>
date Fri, 12 Nov 2021 17:15: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