mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
test: typing for helpers.meths
This commit is contained in:
@@ -85,7 +85,7 @@ describe('cmdline', function()
|
||||
it('correctly clears end of the history', function()
|
||||
-- Regression test: check absence of the memory leak when clearing end of
|
||||
-- the history using cmdhist.c/clr_history().
|
||||
meths.set_option_value('history', 1, {})
|
||||
meths.nvim_set_option_value('history', 1, {})
|
||||
eq(1, funcs.histadd(':', 'foo'))
|
||||
eq(1, funcs.histdel(':'))
|
||||
eq('', funcs.histget(':', -1))
|
||||
|
||||
Reference in New Issue
Block a user