Merge pull request #16614 from zeertzjq/test-remove-misc1

test: remove references to misc1.c
This commit is contained in:
Björn Linse 2021-12-11 09:20:50 +01:00 committed by GitHub
commit a415a7e672
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -420,7 +420,7 @@ describe('API/extmarks', function()
end) end)
it('marks move with open line', function() it('marks move with open line', function()
-- open_line in misc1.c -- open_line in change.c
-- testing marks below are also moved -- testing marks below are also moved
feed("yyP") feed("yyP")
set_extmark(ns, marks[1], 0, 4) set_extmark(ns, marks[1], 0, 4)
@ -489,7 +489,7 @@ describe('API/extmarks', function()
end) end)
it('marks move with line splits (using enter)', function() it('marks move with line splits (using enter)', function()
-- open_line in misc1.c -- open_line in change.c
-- testing marks below are also moved -- testing marks below are also moved
feed("yyP") feed("yyP")
set_extmark(ns, marks[1], 0, 4) set_extmark(ns, marks[1], 0, 4)
@ -500,7 +500,7 @@ describe('API/extmarks', function()
end) end)
it('marks at last line move on insert new line', function() it('marks at last line move on insert new line', function()
-- open_line in misc1.c -- open_line in change.c
set_extmark(ns, marks[1], 0, 4) set_extmark(ns, marks[1], 0, 4)
feed('0i<cr><esc>') feed('0i<cr><esc>')
check_undo_redo(ns, marks[1], 0, 4, 1, 4) check_undo_redo(ns, marks[1], 0, 4, 1, 4)

View File

@ -4,7 +4,6 @@ local cimported = helpers.cimport(
'./src/nvim/os/shell.h', './src/nvim/os/shell.h',
'./src/nvim/option_defs.h', './src/nvim/option_defs.h',
'./src/nvim/main.h', './src/nvim/main.h',
'./src/nvim/misc1.h',
'./src/nvim/memory.h' './src/nvim/memory.h'
) )
local ffi, eq = helpers.ffi, helpers.eq local ffi, eq = helpers.ffi, helpers.eq