Skip to content

Conversation

@Hawkbawk
Copy link
Contributor

In #229 , we changed the runnable detection logic for it, describe, its, etc. to look inside of strings for their content so that we don't pass along their quotations to the command line. However, in doing so, tests that use modules, classes, or symbols were no longer being detected. Add back detection for those, and a catch-all to make sure we don't miss any other cases (which is what we had before).

In PR zed-extensions#229, we changed the runnable detection logic for it, describe,
its, etc. to look inside of strings for their content so that we don't
pass along their quotations to the command line. However, in doing so,
tests that use modules, classes, or symbols were no longer being
detected. Add back detection for those, and a catch-all to make sure we
don't miss any other cases (which is what we had before).
@cla-bot cla-bot bot added the cla-signed label Jan 23, 2026
@Hawkbawk
Copy link
Contributor Author

For any curious internet wanderers that run in to the same problem as me, until this is merged, you can install version 0.16.3 (Extensions -> Search for "Ruby" -> Three dots -> Install another version...) and it should behave the same as before.

@vitallium
Copy link
Collaborator

@Hawkbawk Thank you! I'll look into #95 to avoid regressions when we modify the tree-sitter queries.

@vitallium vitallium merged commit 0b4b7d8 into zed-extensions:main Jan 24, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants