Mercurial > vim
view src/testdir/test_version.vim @ 26418:9a1b96ae26d1 v8.2.3740
patch 8.2.3740: memory left allocated on exit when using Tcl
Commit: https://github.com/vim/vim/commit/c7269f862748c3b0f56b5a651019e18c7d5190ee
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Dec 5 11:36:23 2021 +0000
patch 8.2.3740: memory left allocated on exit when using Tcl
Problem: Memory left allocated on exit when using Tcl.
Solution: Call Tcl_Finalize().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 05 Dec 2021 12:45:03 +0100 |
parents | dfdd973cf0c9 |
children |
line wrap: on
line source
" Test :version Ex command so check.vim so shared.vim func Test_version() " version should always return the same string. let v1 = execute('version') let v2 = execute('version') call assert_equal(v1, v2) call assert_match("^\n\nVIM - Vi IMproved .*", v1) endfunc func Test_version_redirect() CheckNotGui CheckCanRunGui CheckUnix call RunVim([], [], '--clean -g --version >Xversion 2>&1') call assert_match('Features included', readfile('Xversion')->join()) call delete('Xversion') endfunc " vim: shiftwidth=2 sts=2 expandtab