neovim/test/client
Justin M. Keyes 975c2124a6
test: use spawn_wait() instead of system() #31852
Problem:
Tests that need to check `nvim` CLI behavior (no RPC session) create
their own ad-hoc `system()` wrappers.

Solution:
- Use `n.spawn_wait` instead of `system()`.
- Bonus: this also improves the tests by explicitly checking for
  `stdout` or `stderr`. And if a signal is raised, `ProcStream.status`
  will reflect it.
2025-01-04 06:29:13 -08:00
..
rpc_stream.lua test: spawn_wait() starts a non-RPC Nvim process 2025-01-03 19:24:04 +01:00
session.lua test: include stderr in EOF failure message 2025-01-03 19:24:04 +01:00
uv_stream.lua test: use spawn_wait() instead of system() #31852 2025-01-04 06:29:13 -08:00