-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
tests: Use #[should_panic]
instead of #[ignore]
where possible
#7875
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
base: main
Are you sure you want to change the base?
Conversation
GNU testsuite comparison:
|
many jobs are failing :) |
Yes, looks harder than what I anticipated ^^' |
a0018af
to
80567e3
Compare
GNU testsuite comparison:
|
In many cases, a test is correct and should pass – but the feature that's being tested is implemented incorrectly. In those cases, "should_panic" is just wrong. For example, Arguably, |
I understand, but I tend to disagree. Ignoring a test will skip it no matter what, so if we were to fix it by accident, we wouldn't notice and could regress it without even knowing it. Using I agree that both In any cases, I don't have a very strong feeling about this. I think it could help, but I may be mistaken. Regarding the expr's |
No description provided.