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

Raise an error if the path given to compile_fail matches no files #185

Open
leighmcculloch opened this issue Aug 19, 2022 · 0 comments
Open

Comments

@leighmcculloch
Copy link

leighmcculloch commented Aug 19, 2022

The compile_fail function accepts a string to match against paths. If there's a typo in that string which causes it to match no folder / files the test will pass, but it is probably indicative of a developer error.

I experienced this myself when I renamed the folder where I keep trybuild test vectors, without updating the compile_fail call.

The compile_fail function could raise an error in this case.

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

No branches or pull requests

1 participant