Lewis Russell
795f896a57
test: rename (meths, funcs) -> (api, fn)
2024-01-12 18:59:14 +00:00
Lewis Russell
c30f2e3182
test: typing for helpers.meths
2024-01-12 13:01:06 +00:00
Lewis Russell
284e0ad26d
test: use vim.mpack and vim.uv directly
2024-01-12 12:04:20 +00:00
Justin M. Keyes
04f2f864e2
refactor: format test/*
2024-01-03 02:09:29 +01:00
Famiu Haque
576dddb461
test: don't unnecessarily specify win/buf for nvim_(get|set)_option_value
...
`nvim_(get|set)_option_value` pick the current buffer / window by default for buffer-local/window-local (but not global-local) options. So specifying `buf = 0` or `win = 0` in opts is unnecessary for those options. This PR removes those to reduce code clutter.
2023-05-22 13:02:07 +06:00
Lewis Russell
1fe1bb084d
refactor(options): deprecate nvim[_buf|_win]_[gs]et_option
...
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: famiu <famiuhaque@protonmail.com>
2023-05-21 15:14:01 +06:00
dundargoc
743860de40
test: replace lfs with luv and vim.fs
...
test: replace lfs with luv
luv already pretty much does everything lfs does, so this duplication
of dependencies isn't needed.
2023-04-04 21:59:06 +02:00
bfredl
e3281d992e
fix(tests): check for EOF on exit of nvim properly
2022-06-13 10:15:44 +02:00
Gregory Anders
d8ab8cccd0
test: update tests to work with 'hidden'
2021-08-18 12:17:12 -06:00
Björn Linse
07cc231142
A Mudholland Dr. Recast
...
The commit summary maybe does not make sense, but calling a function
that does not wait on anything `wait()` makes even less sense.
2020-10-19 21:48:06 +02:00
ZyX
47b451c52b
functests: Refactor legacy/012_directory_spec
2017-04-08 21:58:13 +03:00
Justin M. Keyes
911421d328
test: legacy/012_directory_spec: Also use dot-prefix on Windows.
...
win32 handles dot-prefixed files just fine; Nvim-on-Windows does not
perpetuate the Vim-on-Windows behavior of avoiding dot-prefixed files.
2016-09-20 11:08:14 +02:00
Justin M. Keyes
764f576d64
test/helpers.rmdir(): Retry once after a delay.
...
Attempt to avoid "Permission denied" on Windows potentially caused by open
filepath handle in sibling process.
2016-09-20 11:08:14 +02:00
Lucas Hoffmann
4a6b4bbf93
tests: migrate legacy test 12. #4196
2016-09-18 16:38:10 +02:00