0
0
mirror of https://github.com/vim/vim.git synced 2025-11-15 23:14:06 -05:00

patch 9.1.1051: tests: no support for env variables when running Vim in terminal

Problem:  tests: no support for env variables when running Vim in
          terminal
Solution: support the "env" argument in RunVimInTerminal(),
          close swapfiles properly in test_termcodes,
          use CheckFeature in test_termencoding

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2025-01-25 15:01:42 +01:00
parent efc41a5958
commit 08ea2e1fb0
4 changed files with 17 additions and 11 deletions

View File

@@ -1,10 +1,10 @@
" Test for setting 'encoding' to something else than the terminal uses, then
" setting 'termencoding' to make it work.
source check.vim
" This only works with "iconv".
if !has('iconv')
throw 'Skipped: iconv feature missing'
endif
CheckFeature iconv
source screendump.vim
if !CanRunVimInTerminal()