diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-10-09 07:16:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-08 23:16:43 +0000 |
commit | e98b1b0235a5e817c00814549606631703ab2041 (patch) | |
tree | dad7747d75a7877c892dae8cf2d9c0a905c4af34 | |
parent | 5f04e4ac4fd0d5058cf339b8824eed41b6981e85 (diff) | |
download | rneovim-e98b1b0235a5e817c00814549606631703ab2041.tar.gz rneovim-e98b1b0235a5e817c00814549606631703ab2041.tar.bz2 rneovim-e98b1b0235a5e817c00814549606631703ab2041.zip |
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
https://github.com/vim/vim/commit/c9aa6e4f2a040dc7f8411139d39d0463487100da
-rw-r--r-- | test/old/testdir/test_mapping.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/old/testdir/test_mapping.vim b/test/old/testdir/test_mapping.vim index 3b7ede2e08..96fa0304dc 100644 --- a/test/old/testdir/test_mapping.vim +++ b/test/old/testdir/test_mapping.vim @@ -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 |