aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/commands_spec.lua
Commit message (Collapse)AuthorAge
* fix(lua): print multiple return values with =expr (#16933)Shadman2022-01-06
|
* feat(lua): make =expr print result of exprshadmansaleh2022-01-04
|
* feat(lua): enable stack traces in error output (#16228)Gregory Anders2021-11-06
|
* refactor(tests): remove redir_exec #15718Justin M. Keyes2021-09-19
| | | | | | | | | | | 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`.
* test/vim.validate(): assert normalized stacktraceJustin M. Keyes2020-10-05
| | | | | | | - The previous commit lost information in the tests. Instead, add some more "normalization" substitutions in pcall_err(), so that the general shape of the stacktrace is included in the asserted text. - Eliminate contains(), it is redundant with matches()
* API: include invalid buffer/window/tabpage in error message (#11712)Daniel Hahler2020-01-14
|
* Add v:lua.func() vimL syntax for calling luaBjörn Linse2019-11-16
| | | | Also simplify error messages when calling lua from vimL.
* tests/lua: test for multiline error messages in luaBjörn Linse2019-01-23
|
* executor,functests: Add print() tests, some fixesZyX2017-03-27
|
* executor: Add :luafile commandZyX2017-03-27
|
* executor: Fix some memory leaksZyX2017-03-27
|
* executor,functests: Add tests for :luado, also some fixesZyX2017-03-27
| | | | | | | | Fixes: 1. Allocate space for the NUL byte. 2. Do not exclude last line from range. 3. Remove code for sandbox: it is handled earlier. 4. Fix index in new_line_transformed when converting NULs to NLs. 5. Always allocate new_line_transformed, but save allocated value.
* doc,functests: Add documentationZyX2017-03-27
| | | Missing: updates to various lists.
* functests: Add tests for :luaZyX2017-03-27
|
* functests: Add some testsZyX2017-03-27