mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 21:55:17 -07:00
e016f5bee6
`exec_lua` makes code slighly harder to read, so it's beneficial to remove it in cases where it's possible or convenient. Not all `exec_lua` calls should be removed even if the test passes as it changes the semantics of the test even if it happens to pass. From https://github.com/neovim/neovim/pull/28155#discussion_r1548185779: "Note for tests like this, which fundamentally are about conversion, you end up changing what conversion you are testing. Even if the result happens to be same (as they often are, as we like the rules to be consistent if possible), you are now testing the RPC conversion rules instead of the vim script to in-process lua conversion rules." From https://github.com/neovim/neovim/pull/28155#discussion_r1548190152: "A test like this specifies that the cursor is valid immediately and not after a separate cycle of normal (or an other input-processing) mode." |
||
---|---|---|
.. | ||
api_spec.lua | ||
base64_spec.lua | ||
buffer_updates_spec.lua | ||
command_line_completion_spec.lua | ||
commands_spec.lua | ||
diagnostic_spec.lua | ||
ffi_spec.lua | ||
filetype_spec.lua | ||
fs_spec.lua | ||
glob_spec.lua | ||
highlight_spec.lua | ||
inspector_spec.lua | ||
iter_spec.lua | ||
json_spec.lua | ||
loader_spec.lua | ||
loop_spec.lua | ||
luaeval_spec.lua | ||
mpack_spec.lua | ||
overrides_spec.lua | ||
runtime_spec.lua | ||
secure_spec.lua | ||
snippet_spec.lua | ||
spell_spec.lua | ||
system_spec.lua | ||
text_spec.lua | ||
thread_spec.lua | ||
ui_event_spec.lua | ||
ui_spec.lua | ||
uri_spec.lua | ||
version_spec.lua | ||
vim_spec.lua | ||
watch_spec.lua | ||
xdiff_spec.lua |