neovim/test/functional/shada
Justin M. Keyes 2afbce7651
refactor(tests): remove redir_exec #15718
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`.
2021-09-19 02:29:37 -07:00
..
buffers_spec.lua test: Minimize shada/helpers.lua #10728 2019-08-09 10:23:57 +02:00
compatibility_spec.lua test/shada: fixup for Windows backslashes #7287 2017-10-02 00:48:43 +02:00
errors_spec.lua feat(shada): restore Blob globals properly 2021-09-15 21:19:30 +01:00
helpers.lua test: Minimize shada/helpers.lua #10728 2019-08-09 10:23:57 +02:00
history_spec.lua refactor(tests): use assert_alive() #15546 2021-09-01 09:42:53 -07:00
marks_spec.lua refactor(tests): remove redir_exec #15718 2021-09-19 02:29:37 -07:00
merging_spec.lua refactor(tests): remove redir_exec #15718 2021-09-19 02:29:37 -07:00
registers_spec.lua test: Minimize shada/helpers.lua #10728 2019-08-09 10:23:57 +02:00
shada_spec.lua test: Minimize shada/helpers.lua #10728 2019-08-09 10:23:57 +02:00
variables_spec.lua feat(shada): restore Blob globals properly 2021-09-15 21:19:30 +01:00