neovim/test/functional/autocmd
Justin M. Keyes 022449b522
fix(api): generic error messages, not using TRY_WRAP #31596
Problem:
- API functions using `try_start` directly, do not surface the
  underlying error message, and instead show generic messages.
- Error-handling code is duplicated in the API impl.
- Failure modes are not tested.

Solution:
- Use `TRY_WRAP`.
- Add tests.
2024-12-16 08:34:16 -08:00
..
autocmd_oldtest_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
autocmd_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
bufenter_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
bufmodifiedset_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
cmdline_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
completedone_spec.lua docs: misc (#31138) 2024-11-21 06:50:30 +08:00
cursorhold_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
cursormoved_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
dirchanged_spec.lua fix(api): generic error messages, not using TRY_WRAP #31596 2024-12-16 08:34:16 -08:00
filetype_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
focus_spec.lua refactor(tests): rename terminal/testutil.lua => testterm.lua #30372 2024-09-15 03:28:14 -07:00
modechanged_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
recording_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
safestate_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
searchwrapped_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
show_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
signal_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
tabclose_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
tabnew_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
tabnewentered_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
termxx_spec.lua test(autocmd/termxx_spec): fix TextChangedT test flakiness (#31296) 2024-11-22 08:08:12 +08:00
textchanged_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
textyankpost_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
win_scrolled_resized_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00