forked from aniani/vim
patch 9.1.0177: Coverity reports dead code
Problem: Coverity reports dead code.
Solution: Remove the dead code. Also fix a mistake in ml_get_pos_len()
and update some comments (zeertzjq).
closes: #14189
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
253ff4dece
commit
8c55d60658
@@ -2364,6 +2364,14 @@ func Test_normal30_changecase()
|
||||
%d
|
||||
call assert_beeps('norm! ~')
|
||||
|
||||
" Test with multiple lines
|
||||
call setline(1, ['AA', 'BBBB', 'CCCCCC', 'DDDDDDDD'])
|
||||
norm! ggguG
|
||||
call assert_equal(['aa', 'bbbb', 'cccccc', 'dddddddd'], getline(1, '$'))
|
||||
norm! GgUgg
|
||||
call assert_equal(['AA', 'BBBB', 'CCCCCC', 'DDDDDDDD'], getline(1, '$'))
|
||||
%d
|
||||
|
||||
" Test for changing case across lines using 'whichwrap'
|
||||
call setline(1, ['aaaaaa', 'aaaaaa'])
|
||||
normal! gg10~
|
||||
|
||||
Reference in New Issue
Block a user