dundargoc
052498ed42
test: improve test conventions
...
Specifically, functions that are run in the context of the test runner
are put in module `test/testutil.lua` while the functions that are run
in the context of the test session are put in
`test/functional/testnvim.lua`.
Closes https://github.com/neovim/neovim/issues/27004 .
2024-04-23 18:17:04 +02:00
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
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
Justin M. Keyes
04f2f864e2
refactor: format test/*
2024-01-03 02:09:29 +01:00
zeertzjq
6462ee1c10
vim-patch:9.0.1779: Need more state() tests ( #24840 )
...
Problem: Need more state() tests
Solution: Add a few more tests for operater pending mode and register
yank command
closes : vim/vim#12883
https://github.com/vim/vim/commit/8dabccd295271104ad5af0abc48e283d644cff59
2023-08-23 06:42:10 +08:00
zeertzjq
20f76ebf2b
test: fix state() test flakiness ( #24839 )
2023-08-23 00:00:57 +08:00
zeertzjq
6aa29d0f01
test: add some tests for SafeState autocommand
2023-08-21 14:16:16 +08:00
zeertzjq and Bram Moolenaar
71acb71043
vim-patch:8.1.2099: state() test fails on some Mac systems
...
Problem: state() test fails on some Mac systems.
Solution: Increase the wait time. (closes vim/vim#4983 )
https://github.com/vim/vim/commit/b7a97ef340f03ca08df8c8e00cd5580f61aac824
Co-authored-by: Bram Moolenaar <Bram@vim.org >
2023-08-21 14:16:16 +08:00
zeertzjq and Bram Moolenaar
6bf5b2428b
vim-patch:8.1.2066: no tests for state()
...
Problem: No tests for state().
Solution: Add tests. Clean up some feature checks. Make "a" flag work.
https://github.com/vim/vim/commit/c2585490321854ca3df115efcf0b40986901d96c
Co-authored-by: Bram Moolenaar <Bram@vim.org >
2023-08-21 14:16:16 +08:00