view src/testdir/test_vim9_fails.vim @ 26036:c8165ec9dcad v8.2.3552

patch 8.2.3552: xxd revert does not handle end of line correctly Commit: https://github.com/vim/vim/commit/47810464aa4f9edbf222c02a860a3ec560b0b7a1 Author: DungSaga <dungsaga@users.noreply.github.com> Date: Fri Oct 22 12:55:42 2021 +0100 patch 8.2.3552: xxd revert does not handle end of line correctly Problem: Xxd revert does not handle end of line correctly. Solution: Check for newline first. (closes https://github.com/vim/vim/issues/9034)
author Bram Moolenaar <Bram@vim.org>
date Fri, 22 Oct 2021 14:00:07 +0200
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