vim-patch:9.1.0767: A condition is always true in ex_getln.c (#30726)

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: vim/vim#15830

c9aa6e4f2a
This commit is contained in:
zeertzjq
2024-10-09 07:16:43 +08:00
committed by GitHub
parent 5f04e4ac4f
commit e98b1b0235

View File

@@ -88,7 +88,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