Commit graph

8 commits

Author SHA1 Message Date
Slotos
21e3358617
chores: update markdown expectations, regenerate ruby symbols, enable nvim-treesitter main testing (#323)
* chore: Fix markdown tests

Recent update to nvim-treesitter breaks aerial.nvim tests.
Specifically:
- nvim-treesitter/nvim-treesitter@96f55f3043
- MDeiml/tree-sitter-markdown@cd705f1591

Manually poking around, the behaviour remains the same

* chore: Regenerate ruby symbol snapshots

Prior version held a bunch of data written by hand. This commit updates
it to avoid false alarms when generating symbols for new or updated
queries.

Expectations are not changed, only the order of keys in individual
tables was updated.

* chore: Option to run tests on nvim-treesitter main

While nvim-treesitter is not a strict requirement for aerial.nvim, it
is used to install parsers and it updates nvim default language to
parser assignments with practical values. This commit adds an ability to
run tests against `main` branch by providing `--test-main` option to
`run_tests.sh`.

* chore: Add neorg parser config to main branch

Use C++14 compatible compiler when running tests with `--test-main`,
otherwise parser compilation will fail.
2023-11-09 21:17:09 -08:00
Steven Arcangeli
5b0433d61f
test: refactor tests to use snapshot files (#315)
* test: change treesitter tests to use snapshots

* test: add selection_range to treesitter tests

* ci: run tests against neovim 0.9.4
2023-10-15 21:18:56 -07:00
Steven Arcangeli
eb821e5636 test: ensure dependencies are updated when running tests 2022-11-27 13:43:12 -08:00
Steven Arcangeli
c5f656cb78 test: test harness isolation improvements 2022-10-21 20:10:50 -07:00
Steven Arcangeli
d953c28f81 test: refactor tests to work with neotest 2022-06-15 09:12:30 -07:00
Steven Arcangeli
ae9787240c feat: icons can be defined as per-filetype map (#108) 2022-05-29 18:13:26 -07:00
Steven Arcangeli
fdcadb73a8 feat: treesitter support for json 2021-11-20 13:32:12 -08:00
Steven Arcangeli
7d60919cee feat: tests for lua ts parser 2021-11-20 12:14:29 -08:00