Patch 8.2.4210 (after 8.2.4208)
Problem:    Window title test fails in some configurations.
Solution:   Only run the test if the title can be obtained.
Files:      src/testdir/test_functions.vim


*** ../vim-8.2.4209/src/testdir/test_functions.vim      2022-01-24 
20:00:51.899507349 +0000
--- src/testdir/test_functions.vim      2022-01-24 21:59:59.115626181 +0000
***************
*** 1632,1637 ****
--- 1632,1640 ----
  
  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
*** ../vim-8.2.4209/src/version.c       2022-01-24 21:27:57.648085201 +0000
--- src/version.c       2022-01-24 22:02:04.025251901 +0000
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     4210,
  /**/

-- 
Kisses may last for as much as, but no more than, five minutes.
                [real standing law in Iowa, United States of America]

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220124220807.8F4881C1AA3%40moolenaar.net.

Raspunde prin e-mail lui