Patch 8.2.3592
Problem:    Test_hlset fails when terminal has many columns.
Solution:   Set the number of columns to 80. (Dominique Pellé, closes #9101,
            closes #9100)
Files:      src/testdir/test_highlight.vim


*** ../vim-8.2.3591/src/testdir/test_highlight.vim      2021-11-13 
10:49:26.833952428 +0000
--- src/testdir/test_highlight.vim      2021-11-13 17:25:28.468055181 +0000
***************
*** 1046,1051 ****
--- 1046,1054 ----
  
  " Test for the hlset() function
  func Test_hlset()
+   let save_columns = &columns
+   let &columns = 80
+ 
    let lines =<< trim END
      call assert_equal(0, hlset(test_null_list()))
      call assert_equal(0, hlset([]))
***************
*** 1150,1155 ****
--- 1153,1160 ----
                        \ 'term': attr, 'cterm': attr}], hlget('myhlg2'))
    END
    call CheckLegacyAndVim9Success(lines)
+ 
+   let &columns = save_columns
  endfunc
  
  " vim: shiftwidth=2 sts=2 expandtab
*** ../vim-8.2.3591/src/version.c       2021-11-13 12:38:45.538835898 +0000
--- src/version.c       2021-11-13 17:27:10.687699088 +0000
***************
*** 759,760 ****
--- 759,762 ----
  {   /* Add new patch number below this line */
+ /**/
+     3592,
  /**/

-- 
I still remember when I gave up Smoking, Drinking and Sex.  It was the
most *horrifying* hour of my life!

 /// 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/20211113184550.2483D1C530B%40moolenaar.net.

Raspunde prin e-mail lui