mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
test: typing for helpers.meths
This commit is contained in:
@@ -61,9 +61,9 @@ describe('K', function()
|
||||
end)
|
||||
|
||||
it('empty string falls back to :help #19298', function()
|
||||
meths.set_option_value('keywordprg', '', {})
|
||||
meths.buf_set_lines(0, 0, -1, true, { 'doesnotexist' })
|
||||
meths.nvim_set_option_value('keywordprg', '', {})
|
||||
meths.nvim_buf_set_lines(0, 0, -1, true, { 'doesnotexist' })
|
||||
feed('K')
|
||||
eq('E149: Sorry, no help for doesnotexist', meths.get_vvar('errmsg'))
|
||||
eq('E149: Sorry, no help for doesnotexist', meths.nvim_get_vvar('errmsg'))
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user