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

chore(test_util): ensure that extra expectations are an error even without a filter #20483

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

mmastrac
Copy link
Contributor

Running tools/wpt.ts with a filter would cause an error if there were extra, leftover expectations in expectations.json. These errors would not appear if no filter was passed, often leaving the filtered version of the test runner broken.

This also introduces a smarter bit of logic where filters can be specified with a leading slash (tools/wpt.ts run -- /url is equivalent to tools/wpt.ts run -- url)

Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. LGTM!

@mmastrac mmastrac merged commit a4b7d56 into denoland:main Sep 13, 2023
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants