• R/O
  • SSH

vim: 提交

Mirror of the Vim source from https://github.com/vim/vim


Commit MetaInfo

修订版36f13f35bd785b7e398a38fcd8cab3293ff88063 (tree)
时间2020-09-26 06:15:03
作者Bram Moolenaar <Bram@vim....>
CommiterBram Moolenaar

Log Message

patch 8.2.1742: test still fails without the terminal feature

Commit: https://github.com/vim/vim/commit/7e9210ea5320e0c3fd9fd93e3f3f1a59e029cf46
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 25 23:12:51 2020 +0200

patch 8.2.1742: test still fails without the terminal feature
Problem: Test still fails without the terminal feature.
Solution: Put check for terminal feature in separate function.

更改概述

差异

diff -r 21d63dec6f6a -r 36f13f35bd78 src/testdir/test_vim9_script.vim
--- a/src/testdir/test_vim9_script.vim Fri Sep 25 22:45:06 2020 +0200
+++ b/src/testdir/test_vim9_script.vim Fri Sep 25 23:15:03 2020 +0200
@@ -2831,9 +2831,14 @@
28312831 CheckDefAndScriptSuccess(lines)
28322832 enddef
28332833
2834-def Test_define_func_at_command_line()
2834+func Test_define_func_at_command_line()
28352835 CheckRunVimInTerminal
28362836
2837+ " call indirectly to avoid compilation error for missing functions
2838+ call Run_Test_define_func_at_command_line()
2839+endfunc
2840+
2841+def Run_Test_define_func_at_command_line()
28372842 # run in a separate Vim instance to avoid the script context
28382843 let lines =<< trim END
28392844 func CheckAndQuit()
diff -r 21d63dec6f6a -r 36f13f35bd78 src/version.c
--- a/src/version.c Fri Sep 25 22:45:06 2020 +0200
+++ b/src/version.c Fri Sep 25 23:15:03 2020 +0200
@@ -751,6 +751,8 @@
751751 static int included_patches[] =
752752 { /* Add new patch number below this line */
753753 /**/
754+ 1742,
755+/**/
754756 1741,
755757 /**/
756758 1740,
Show on old repository browser