0
0
mirror of https://github.com/vim/vim.git synced 2025-10-12 06:44:06 -04:00

patch 8.2.0180: test for wrapmargin fails if terminal is not 80 columns

Problem:    Test for wrapmargin fails if terminal is not 80 columns.
Solution:   Vertical split the window. (Ken Takata, closes #5554)
This commit is contained in:
Bram Moolenaar
2020-01-30 16:09:25 +01:00
parent b09920203a
commit 0c3064b39b
2 changed files with 6 additions and 3 deletions

View File

@@ -425,12 +425,13 @@ func Test_format_align()
enew!
" align text with 'wrapmargin'
50vnew
call setline(1, ['Vim'])
set textwidth=0
set wrapmargin=60
setl textwidth=0
setl wrapmargin=30
right
call assert_equal("\t\t Vim", getline(1))
set wrapmargin&
q!
set tw&
endfunc

View File

@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
180,
/**/
179,
/**/