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
Justin M. Keyes
04f2f864e2
refactor: format test/*
2024-01-03 02:09:29 +01:00
Lewis Russell
be0461e3c2
fix(treesitter): is_in_node_range ( #22582 )
...
TS ranges are end column exclusive, so fix is_in_node_range
to account for that.
2023-03-08 23:45:43 +00:00
Christian Clason
6254b0fd3b
ci(tests): don't skip parsers on functionaltest
...
Treesitter parsers are now a mandatory part of the installation and
should be tested on all platforms. Remove `pending_c_parser` helper.
2022-09-06 07:57:46 +02:00
bfredl
73ee2b35d1
fix(tests): use pending_c_parser when needed
2022-08-25 20:49:27 +02:00
Quentin Rasmont
3aba4ba378
feat(treesitter): upstream is_parent()
...
Util from the nvim-treesitter project.
Renamed is_parent to is_ancestor for clarity.
2022-08-25 18:01:14 +02:00