forked from aniani/vim
patch 8.2.0174: various commands not completely tested
Problem: Various commands not completely tested. Solution: Add more test cases. (Yegappan Lakshmanan, closes #5551)
This commit is contained in:
@@ -424,6 +424,14 @@ func Test_format_align()
|
||||
\ ], getline(1, '$'))
|
||||
enew!
|
||||
|
||||
" align text with 'wrapmargin'
|
||||
call setline(1, ['Vim'])
|
||||
set textwidth=0
|
||||
set wrapmargin=60
|
||||
right
|
||||
call assert_equal("\t\t Vim", getline(1))
|
||||
set wrapmargin&
|
||||
|
||||
set tw&
|
||||
endfunc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user