mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 19:25:11 -07:00
2afbce7651
Problem - `redir_exec` is obsolete, but it keeps getting used in new tests because people copy existing tests. - Disadvantages of `redir_exec`: - Captures extra junk before the actual error/message that we _want_ to test. - Does not fail on error, unlike e.g. `command()`. Solution - Use new functions like `nvim_exec` and `pcall_err`. |
||
---|---|---|
.. | ||
buffers_spec.lua | ||
compatibility_spec.lua | ||
errors_spec.lua | ||
helpers.lua | ||
history_spec.lua | ||
marks_spec.lua | ||
merging_spec.lua | ||
registers_spec.lua | ||
shada_spec.lua | ||
variables_spec.lua |