mirror of
https://github.com/neovim/neovim.git
synced 2026-04-19 22:10:45 +00:00
test: reduce sleep for file timestamp change (#28196)
Now that Nvim always supports nanotime, sleeping for some milliseconds is enough.
This commit is contained in:
@@ -738,7 +738,7 @@ describe('nvim_set_keymap, nvim_del_keymap', function()
|
||||
end
|
||||
end
|
||||
|
||||
it('can set mappings containing literal keycodes', function()
|
||||
it('can set mappings containing C0 control codes', function()
|
||||
api.nvim_set_keymap('n', '\n\r\n', 'rhs', {})
|
||||
local expected = generate_mapargs('n', '<NL><CR><NL>', 'rhs')
|
||||
eq(expected, get_mapargs('n', '<NL><CR><NL>'))
|
||||
|
||||
Reference in New Issue
Block a user