Skip to content
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

Use inline test expectations for query predicates #18620

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

asgerf
Copy link
Contributor

@asgerf asgerf commented Jan 29, 2025

Uses post-processing to treat query predicates as inline test expectations, where the name of the predicate is the tag.

In this PR I've done this my having a test.ql and test.qlref in the same folder where the .qlref refers to the .ql file.

Expands the scope of inline test expectations post-processor to support .ql files with no `@kind` but with a bunch of unary or binary query predicates, which each correspond to a tag.
No effective change, just reordering due to CLI changes
@github-actions github-actions bot added the JS label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant