-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tasty: [TestTree]
without testGroup
not recognised
#102
Comments
There are two things that need to be fixed:
|
Do you think tree-sitter could be able to walk up the tree of nodes and detect the |
I would have to add some queries to tasty-positions.scm for that. For now, #104 implements a hotfix by adding |
@all-contributors please add @Kleidukos for bug |
I've put up a pull request to add @Kleidukos! 🎉 |
Neovim version (nvim -v)
nightly
Operating system/version
NixOS 23.05
How to reproduce the issue
Place cursor on the function's type signature (test file:
and run neotest
Expected behaviour
neotest runs all tests within the
[TestTree]
and outputs the results as virtual textActual behaviour
neotest tries to run all tests and outputs an error message.
This is because
neotest-haskell
can't find any test groups and passes-p $0~
with no paths to match.A minimal Neovim config used to reproduce this issue.
The text was updated successfully, but these errors were encountered: