mirror of
https://github.com/neovim/neovim.git
synced 2024-12-21 11:45:01 -07:00
vim-patch:8.2.0006: test using long file name may fail
Problem: Test using long file name may fail. (Vladimir Lomov) Solution: Limit the name length. (Christian Brabandt, closes vim/vim#5358)6e43b30a85
N/A patches for version.c: vim-patch:8.2.1002: test may fail when run directly Problem: Test may fail when run directly. Solution: Check if g:run_nr exists. (Christian Brabandt, closes vim/vim#6285)ceb2e77510
This commit is contained in:
parent
5621bc66d6
commit
87f31b4c86
@ -189,7 +189,7 @@ endfunc
|
||||
func Test_edit_long_file_name()
|
||||
CheckScreendump
|
||||
|
||||
let longName = 'x'->repeat(&columns)
|
||||
let longName = 'x'->repeat(min([&columns, 255]))
|
||||
call writefile([], longName)
|
||||
let buf = RunVimInTerminal('-N -u NONE ' .. longName, #{rows: 8})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user