diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-24 22:02:15 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-24 22:02:15 +0000 |
commit | a6c09a7c20dd8dae43a99c6dc634151940c2fc6c (patch) | |
tree | 39afcabe00ce20d1ac61f6922fd77be10a2fd474 | |
parent | 3e93a2b075e99a2b3ced85227a6373be233712ff (diff) |
patch 8.2.4210: window title test fails in some configurationsv8.2.4210
Problem: Window title test fails in some configurations.
Solution: Only run the test if the title can be obtained.
-rw-r--r-- | src/testdir/test_functions.vim | 3 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/testdir/test_functions.vim b/src/testdir/test_functions.vim index 3f197ca3d3..39110bbf66 100644 --- a/src/testdir/test_functions.vim +++ b/src/testdir/test_functions.vim @@ -1632,6 +1632,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 diff --git a/src/version.c b/src/version.c index 4c263aee42..5be0473898 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 */ /**/ + 4210, +/**/ 4209, /**/ 4208, |