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:
zeertzjq
2024-04-06 08:59:50 +08:00
committed by GitHub
parent 08ae0c840b
commit 5581a90e20
3 changed files with 9 additions and 9 deletions

View File

@@ -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>'))