forked from aniani/vim
patch 9.1.0767: A condition is always true in ex_getln.c
Problem: A cmdlen == 0 condition is always true as ccline.cmdlen == 0 was already checked above (after v9.1.0766). Solution: Remove the condition and the variable. (zeertzjq) closes: #15830 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
cb1d1dcc87
commit
c9aa6e4f2a
@@ -89,7 +89,7 @@ func Test_abclear_buffer()
|
||||
\ .. "! foo foobar", execute('abbrev'))
|
||||
|
||||
abclear
|
||||
call assert_equal("\n\nNo abbreviation found", execute('abbrev'))
|
||||
call assert_equal("\n\nNo abbreviation found", execute('abbrev'))
|
||||
|
||||
%bwipe
|
||||
endfunc
|
||||
|
Reference in New Issue
Block a user