1
0
forked from aniani/vim

patch 8.2.0197: some Ex commands not sufficiently tested

Problem:    Some Ex commands not sufficiently tested.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #5565)
This commit is contained in:
Bram Moolenaar
2020-02-02 15:32:13 +01:00
parent d98c0b63ab
commit ea3db914c0
8 changed files with 173 additions and 3 deletions

View File

@@ -433,6 +433,21 @@ func Test_format_align()
call assert_equal("\t\t Vim", getline(1))
q!
" align text with 'rightleft'
if has('rightleft')
new
call setline(1, 'Vim')
setlocal rightleft
left 20
setlocal norightleft
call assert_equal("\t\t Vim", getline(1))
setlocal rightleft
right
setlocal norightleft
call assert_equal("Vim", getline(1))
close!
endif
set tw&
endfunc