diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-09-25 23:12:51 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-09-25 23:12:51 +0200 |
commit | 7e9210ea5320e0c3fd9fd93e3f3f1a59e029cf46 (patch) | |
tree | 0e5b8c72834ebe99d3c56fd400a0af03cd616a0a | |
parent | 6a33ef0deb5c75c003a9f3bd1c57f3ca5e77327e (diff) | |
download | vim-git-8.2.1742.tar.gz |
patch 8.2.1742: test still fails without the terminal featurev8.2.1742
Problem: Test still fails without the terminal feature.
Solution: Put check for terminal feature in separate function.
-rw-r--r-- | src/testdir/test_vim9_script.vim | 7 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/testdir/test_vim9_script.vim b/src/testdir/test_vim9_script.vim index dee4503cf..f63ecfc71 100644 --- a/src/testdir/test_vim9_script.vim +++ b/src/testdir/test_vim9_script.vim @@ -2831,9 +2831,14 @@ def Test_unset_any_variable() CheckDefAndScriptSuccess(lines) enddef -def Test_define_func_at_command_line() +func Test_define_func_at_command_line() CheckRunVimInTerminal + " call indirectly to avoid compilation error for missing functions + call Run_Test_define_func_at_command_line() +endfunc + +def Run_Test_define_func_at_command_line() # run in a separate Vim instance to avoid the script context let lines =<< trim END func CheckAndQuit() diff --git a/src/version.c b/src/version.c index 2258be977..4983b1b6b 100644 --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1742, +/**/ 1741, /**/ 1740, |