aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-12-28 03:28:48 +0100
committerGitHub <noreply@github.com>2023-12-28 10:28:48 +0800
commit714b075197c02d27d5c05133759ae97bed279b50 (patch)
tree11f8859706d2b77256717abb4d3df6ad130a904a /test
parent46ceefb52be6b014dd27b6adfbca3e1c9dff0c0c (diff)
downloadrneovim-714b075197c02d27d5c05133759ae97bed279b50.tar.gz
rneovim-714b075197c02d27d5c05133759ae97bed279b50.tar.bz2
rneovim-714b075197c02d27d5c05133759ae97bed279b50.zip
docs: small fixes (#26651)
Co-authored-by: Gregory Anders <greg@gpanders.com> Co-authored-by: WillLillis <wlillis@umass.edu>
Diffstat (limited to 'test')
-rw-r--r--test/functional/editor/mode_cmdline_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/editor/mode_cmdline_spec.lua b/test/functional/editor/mode_cmdline_spec.lua
index d34b5a1a28..e1fe8dead7 100644
--- a/test/functional/editor/mode_cmdline_spec.lua
+++ b/test/functional/editor/mode_cmdline_spec.lua
@@ -72,7 +72,7 @@ describe('cmdline', function()
describe('history', function()
it('correctly clears start of the history', function()
-- Regression test: check absence of the memory leak when clearing start of
- -- the history using ex_getln.c/clr_history().
+ -- the history using cmdhist.c/clr_history().
eq(1, funcs.histadd(':', 'foo'))
eq(1, funcs.histdel(':'))
eq('', funcs.histget(':', -1))
@@ -80,7 +80,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 ex_getln.c/clr_history().
+ -- the history using cmdhist.c/clr_history().
meths.set_option_value('history', 1, {})
eq(1, funcs.histadd(':', 'foo'))
eq(1, funcs.histdel(':'))
@@ -88,7 +88,7 @@ describe('cmdline', function()
end)
it('correctly removes item from history', function()
- -- Regression test: check that ex_getln.c/del_history_idx() correctly clears
+ -- Regression test: check that cmdhist.c/del_history_idx() correctly clears
-- history index after removing history entry. If it does not then deleting
-- history will result in a double free.
eq(1, funcs.histadd(':', 'foo'))