neovim/test/functional/api
dundargoc e016f5bee6 test: reduce exec_lua calls
`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."
2024-04-04 13:10:11 +02:00
..
autocmd_spec.lua
buffer_spec.lua test: reduce exec_lua calls 2024-04-04 13:10:11 +02:00
buffer_updates_spec.lua refactor(tests): get channel id via nvim_get_chan_info #27441 2024-02-12 05:50:39 -08:00
command_spec.lua
extmark_spec.lua refactor(tests): all screen tests should use highlights 2024-03-23 13:44:35 +01:00
highlight_spec.lua
keymap_spec.lua feat(api): support getting abbreviations (#26868) 2024-01-20 08:08:44 +08:00
menu_spec.lua
proc_spec.lua
rpc_fixture.lua
server_notifications_spec.lua refactor(tests): get channel id via nvim_get_chan_info #27441 2024-02-12 05:50:39 -08:00
server_requests_spec.lua fix(rpc): do not crash when no input is consumed 2024-03-21 15:52:28 +01:00
tabpage_spec.lua fix(api): patch some cmdwin/textlock holes 2024-03-08 23:24:06 +00:00
ui_spec.lua
version_spec.lua
vim_spec.lua fix: explain that user should run nvim with -V1 to see more information 2024-03-30 12:32:47 +01:00
window_spec.lua fix(api): update grid cursor in nvim_win_set_cursor() 2024-03-15 09:15:50 +01:00