Patch 8.2.0006
Problem: Test using long file name may fail. (Vladimir Lomov)
Solution: Limit the name length. (Christian Brabandt, closes #5358)
Files: src/testdir/test_display.vim
*** ../vim-8.2.0005/src/testdir/test_display.vim 2019-12-11
18:54:01.000000000 +0100
--- src/testdir/test_display.vim 2019-12-14 17:51:37.913542443 +0100
***************
*** 186,192 ****
func Test_edit_long_file_name()
CheckScreendump
! let longName = 'x'->repeat(&columns)
call writefile([], longName)
let buf = RunVimInTerminal('-N -u NONE ' .. longName, #{rows: 8})
--- 186,192 ----
func Test_edit_long_file_name()
CheckScreendump
! let longName = 'x'->repeat(min([&columns, 255]))
call writefile([], longName)
let buf = RunVimInTerminal('-N -u NONE ' .. longName, #{rows: 8})
*** ../vim-8.2.0005/src/version.c 2019-12-14 17:24:49.351094969 +0100
--- src/version.c 2019-12-14 17:52:21.005382847 +0100
***************
*** 744,745 ****
--- 744,747 ----
{ /* Add new patch number below this line */
+ /**/
+ 6,
/**/
--
We're knights of the round table
We dance whene'er we're able
We do routines and chorus scenes
With footwork impeccable.
We dine well here in Camelot
We eat ham and jam and spam a lot.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ 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/201912141654.xBEGs8OZ026837%40masaka.moolenaar.net.