aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query/injection_spec.lua
Commit message (Collapse)AuthorAgeFilesLines
* feat(tests)!: new infrastructure based on makefileChristian Clason2025-05-121-18/+7
| | | | | | | | | | | | | | | | | | | | | | Problem: Not easy to run all checks and tests locally. Redundant CI workflows. Solution: Separate CI into two workflows: * lint: Lua files (stylua, luals), query files (valid captures, predicates, directives using tsqueryls), docs (SUPPORTED_LANGUAGES.md) -- does not need parser installation * tests: parsers (ABI compatibility), query files (tsqueryls on Linux/macOS; nvim on Windows), highlight and indent tests (separated for better readability) -- needs parser installation (but only once) Switch to https://github.com/nvim-treesitter/highlight-assertions fork with ABI 15 support. Run all tests (on Linux and macOS) through `make` (`formatlua`, `checklua`, `lintquery`, `formatquery`, `checkquery`, `docs`, `tests`), which downloads and caches all necessary dependencies. Remove `update-readme` workflow (replaced by lint job on PRs).
* fix!: indents now rely on treesitter highlightPham Huy Hoang2025-05-121-5/+4
| | | | | - Apply suggestions from Lewis to only parse visible lines - Fix failed tests
* feat!: drop modules, general refactor and cleanupChristian Clason2025-05-121-16/+22
|
* test: fix tests broken after 0.10 update (#6714)Riley Bruins2024-06-011-4/+3
|
* properly replace deprecated tsutils functionsKiyoon Kim2023-02-121-2/+2
|
* allow negative assertion in injection tests (#4107)lucario3872023-01-071-18/+36
| | | | | | | * tests(vue, svelte): strengthen tests * fix(html, vue, svelte): fix wrong test format * allow negative assertions in injection tests
* Add support for custom parser install locations #2959 (#3031)Duncan McDougall2022-06-201-2/+2
|
* ci(injection tests): don't consider root language an injectionStephan Seitz2021-12-201-1/+6
|
* ci: add injection testsStephan Seitz2021-12-201-0/+63