You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After checking the commit, I was able to find the origin of the problem: if the test has square brackets in the description (like most of my tests descriptions) the plugin fails.
Thanks for reporting another issue 👍 I can reproduce it.
I guess it would be better to only trim one of the characters if the string had the same character at the start and end such that "[Should handle strings inside brackets]" would become [Should handle strings inside brackets], and only trim [] if they are repeated for a lua string literal [[...]]. I'll make a fix for it.
Did you check docs and existing issues?
log_level
tovim.log.levels.debug
inneotest.setup
and examined the logs.Neovim version (nvim -v)
NVIM v0.10.3 Build type: Release LuaJIT 2.1.1716656478
Operating system/version
Gentoo Linux 2.17
Describe the bug
Hi!
Starting from 71a9dac the plugin no longer works for me. It throws an error per test like this:
Reverting to cfd3f1d fix the problem.
After checking the commit, I was able to find the origin of the problem: if the test has square brackets in the description (like most of my tests descriptions) the plugin fails.
Expected Behavior
It should run the tests without problems regardless of the content in the
it
descriptionOutput of
:checkhealth neotest-busted
if relevantAll OK
neotest log output if relevant
No response
Steps To Reproduce
Add the test in the description and run
require("neotest").run.run(vim.fn.expand("%"))
The text was updated successfully, but these errors were encountered: