neovim/test/functional/lua
Gregory Anders 33464189bc
fix(vim.text): handle very long strings (#30075)
Lua's string.byte has a maximum (undocumented) allowable length, so
vim.text.hencode fails on large strings with the error "string slice too
long".

Instead of converting the string to an array of bytes up front, convert
each character to a byte one at a time.
2024-08-17 22:28:03 -05:00
..
api_spec.lua test: allow exec_lua to handle functions 2024-08-02 19:04:37 +01:00
base64_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
buffer_updates_spec.lua test: allow exec_lua to handle functions 2024-08-02 19:04:37 +01:00
command_line_completion_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
commands_spec.lua test: allow exec_lua to handle functions 2024-08-02 19:04:37 +01:00
comment_spec.lua fix(comment): fall back to using trimmed comment markers (#28938) 2024-05-23 15:30:53 -05:00
diagnostic_spec.lua test: allow exec_lua to handle functions 2024-08-02 19:04:37 +01:00
ffi_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
filetype_spec.lua test: allow exec_lua to handle functions 2024-08-02 19:04:37 +01:00
fs_spec.lua test: allow exec_lua to handle functions 2024-08-02 19:04:37 +01:00
glob_spec.lua test: allow exec_lua to handle functions 2024-08-02 19:04:37 +01:00
highlight_spec.lua feat: get/set namespace properties #28728 2024-06-07 08:33:40 -07:00
inspector_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
iter_spec.lua fix(vim.iter): enable optimizations for arrays (lists with holes) (#28781) 2024-05-17 14:17:25 -05:00
json_spec.lua fix(vim.json): properly treat luanil options as booleans (#28622) 2024-05-03 19:26:56 +08:00
loader_spec.lua test: remove internal assertions and simplify 2024-08-13 14:05:10 +01:00
loop_spec.lua fix(lua): vim.fn.has('nvim-0.10') in fast context, used by vim.deprecate 2024-04-25 08:37:18 +02:00
luaeval_spec.lua refactor(tests): again yet more global highlight definitions 2024-08-14 14:03:34 +02:00
mpack_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
overrides_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
runtime_spec.lua feat(ftplugin): change 'commentstring' to // %s for C/C++ (#29085) 2024-06-03 09:48:43 +02:00
secure_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
snippet_spec.lua fix(snippet): modify base indentation when there's actually whitespace (#29670) 2024-07-16 19:30:22 +02:00
spell_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
system_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
text_spec.lua fix(vim.text): handle very long strings (#30075) 2024-08-17 22:28:03 -05:00
thread_spec.lua refactor(tests): again yet more global highlight definitions 2024-08-14 14:03:34 +02:00
ui_event_spec.lua fix(ui): flush ext_cmdline events before doing cmdpreview #27950 2024-05-28 02:43:56 -07:00
ui_spec.lua fix(vim.ui)!: change open() to return result|nil, errmsg|nil #28612 2024-05-03 03:20:03 -07:00
uri_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
version_spec.lua fix(version): return nil with empty string 2024-07-27 14:06:31 +01:00
vim_spec.lua refactor(tests): again yet more global highlight definitions 2024-08-14 14:03:34 +02:00
watch_spec.lua feat(lsp): drop fswatch, use inotifywait (#29374) 2024-07-06 11:44:19 +02:00
with_spec.lua feat(lua): add context.env (environment variables) to vim._with() 2024-06-24 20:23:11 +03:00
xdiff_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00