diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-08-21 16:16:39 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-08-21 16:16:43 +0800 |
commit | 7fab06cb0cf3ac7676a6bc6cc923a6f8d948c420 (patch) | |
tree | e972d85724abf9da5e5e33275ef8467c29f467f5 | |
parent | 893437512c51fb31b4f99b90357e2b15e5b0c73b (diff) | |
download | rneovim-7fab06cb0cf3ac7676a6bc6cc923a6f8d948c420.tar.gz rneovim-7fab06cb0cf3ac7676a6bc6cc923a6f8d948c420.tar.bz2 rneovim-7fab06cb0cf3ac7676a6bc6cc923a6f8d948c420.zip |
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>
-rw-r--r-- | test/old/testdir/test_functions.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/old/testdir/test_functions.vim b/test/old/testdir/test_functions.vim index c1952d82b0..19386896b4 100644 --- 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 |