commit 7fab06cb0cf3ac7676a6bc6cc923a6f8d948c420
parent 893437512c51fb31b4f99b90357e2b15e5b0c73b
Author: zeertzjq <zeertzjq@outlook.com>
Date: Mon, 21 Aug 2023 16:16:39 +0800
vim-patch:8.2.4210: window title test fails in some configurations
Problem: Window title test fails in some configurations.
Solution: Only run the test if the title can be obtained.
https://github.com/vim/vim/commit/a6c09a7c20dd8dae43a99c6dc634151940c2fc6c
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/test/old/testdir/test_functions.vim b/test/old/testdir/test_functions.vim
@@ -2011,6 +2011,9 @@ endfunc
func Test_setbufvar_keep_window_title()
CheckRunVimInTerminal
+ if !has('title') || empty(&t_ts)
+ throw "Skipped: can't get/set title"
+ endif
let lines =<< trim END
edit Xa.txt