Lewis Russell
81fc27124b
refactor(test): inject after_each differently
2024-04-10 15:53:50 +01:00
dundargoc
7035125b2b
test: improve test conventions
...
Work on https://github.com/neovim/neovim/issues/27004 .
2024-04-08 22:51:00 +02:00
zeertzjq
65bfa86efe
vim-patch:9.1.0046: :drop does not re-use empty buffer ( #27165 )
...
Problem: :drop does not re-use empty buffer
(Rocco Mao)
Solution: Make :drop re-use an empty buffer
(Rocco Mao)
fixes : vim/vim#13851
closes : vim/vim#13881
f96dc8d07f
Co-authored-by: Rocco Mao <dapeng.mao@qq.com >
2024-01-24 07:29:33 +08:00
Lewis Russell
795f896a57
test: rename (meths, funcs) -> (api, fn)
2024-01-12 18:59:14 +00:00
Justin M. Keyes
04f2f864e2
refactor: format test/*
2024-01-03 02:09:29 +01:00
zeertzjq
c0fa721ade
fix(startup): make recovery mode work without --headless ( #24477 )
2023-07-25 19:02:39 +08:00
zeertzjq
628f6cce80
fix(startup): don't truncate when printing with -l ( #24216 )
2023-07-01 08:16:34 +08:00
zeertzjq
bde59e8147
fix(remote): restore previous --remote-expr output formatting ( #23988 )
...
- Use tostring() as that's what print() uses internally.
- Do not append trailing new line.
2023-06-11 22:12:32 +08:00
zeertzjq
cce9460524
fix(remote): make --remote-expr print to stdout ( #23980 )
2023-06-11 15:29:51 +08:00
zeertzjq
4863ca6b89
test: use exec_capture() in more places ( #22787 )
...
Problem:
Using `meths.exec2("code", { output = true })` is too verbose.
Solution:
Use exec_capture() in more places.
2023-03-26 10:49:32 +08:00
Evgeni Chasnovski
fe9cbcb3a5
feat(api): nvim_exec2(), deprecate nvim_exec() #19032
...
Problem:
The signature of nvim_exec() is not extensible per ":help api-contract".
Solution:
Introduce nvim_exec2() and deprecate nvim_exec().
2023-03-25 09:58:48 -07:00
zeertzjq
3c3f3e7353
test(remote_spec): reduce flakiness in waiting for client exit ( #20230 )
...
It is less likely for client to exit between jobstart() and jobwait() if
they are invoked in the same RPC request instead of two separate ones.
2022-09-17 16:17:51 +08:00
Justin M. Keyes
7b2b44bce4
fix(ci): noisy logs, unreliable test #19019
...
Problem:
1. CI logs have too many (40+) logs mentioning SIGHUP:
```
WRN 2022-06-18T16:05:47.075 T3568.22499.0/c deadly_signal:177: got signal 1 (SIGHUP)
WRN 2022-06-18T16:05:47.273 T3569.91095.0/c deadly_signal:177: got signal 1 (SIGHUP)
WRN 2022-06-18T16:05:47.651 T3570.59545.0/c deadly_signal:177: got signal 1 (SIGHUP)
```
2. TS parser test still sometimes fails on BSD CI.
3. remote_spec test fails too often.
Solution:
1. Log deadly signals at INFO level. It hasn't been helpful in CI, and
for local troubleshooting it's reasonable to adjust the loglevel as
needed.
2. Adjust the TS parser test again. ref #18911
3. Skip the remote_spec test. The `--remote` feature was merged before
it was fully formed and needs to be revisited.
2022-06-18 19:19:08 -07:00
Charlie Groves
29c3632285
fix(remote): report on missing wait commands, typecheck lua results
...
Clean up lint errors, too
2022-03-11 11:16:46 -05:00
Charlie Groves
039e94f491
test(remote): add tests for --remote
...
This also fixes a fair number of issues found in running the tests
2022-03-11 11:16:46 -05:00