• R/O
  • SSH

vim: 提交

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


Commit MetaInfo

修订版82d92f6c756cb788a556d7ab1882fc6ff373acd9 (tree)
时间2020-09-26 05:15:04
作者Bram Moolenaar <Bram@vim....>
CommiterBram Moolenaar

Log Message

patch 8.2.1740: test fails without the terminal feature

Commit: https://github.com/vim/vim/commit/58dbef330c42511f9d7d3b3990c73387041f3f3f
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 25 22:13:05 2020 +0200

patch 8.2.1740: test fails without the terminal feature
Problem: Test fails without the terminal feature.
Solution: Skip test if the terminal feature is not available.

更改概述

差异

diff -r dcfdfcb1f6c9 -r 82d92f6c756c src/testdir/test_vim9_script.vim
--- a/src/testdir/test_vim9_script.vim Fri Sep 25 22:00:05 2020 +0200
+++ b/src/testdir/test_vim9_script.vim Fri Sep 25 22:15:04 2020 +0200
@@ -2832,6 +2832,8 @@
28322832 enddef
28332833
28342834 def Test_define_func_at_command_line()
2835+ CheckRunVimInTerminal
2836+
28352837 # run in a separate Vim instance to avoid the script context
28362838 let lines =<< trim END
28372839 func CheckAndQuit()
diff -r dcfdfcb1f6c9 -r 82d92f6c756c src/version.c
--- a/src/version.c Fri Sep 25 22:00:05 2020 +0200
+++ b/src/version.c Fri Sep 25 22:15:04 2020 +0200
@@ -751,6 +751,8 @@
751751 static int included_patches[] =
752752 { /* Add new patch number below this line */
753753 /**/
754+ 1740,
755+/**/
754756 1739,
755757 /**/
756758 1738,
Show on old repository browser