-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Report line number of test when should_panic test failed #138603
base: master
Are you sure you want to change the base?
Conversation
Failed to set assignee to
|
Some changes occurred in src/tools/compiletest cc @jieyouxu |
This comment was marked as outdated.
This comment was marked as outdated.
Could not assign reviewer from: |
This comment has been minimized.
This comment has been minimized.
This looks like a libtest change, so r? libs (or testing-devex?) |
This comment was marked as resolved.
This comment was marked as resolved.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test names are nits, but make the reason for each test self describing.
I think it probably makes sense to also fix the substring tests if they're also broken (I haven't manually checked those messages to see if there's span info coming from elsewhere in the stack, but these seem like they should be tested with the same tests as are introduced here).
21b9d4f
to
c7b4523
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally LGTM - small nits
(Note: I'm not a member of the rust project, so this likely still requires approval from someone who is)
This comment has been minimized.
This comment has been minimized.
Though reviews are still very much appreciated 😁 |
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
@bors try Before the change fails snapshots in Cargo's test testsuite |
Report line number of test when should_panic test failed Closing rust-lang#137405 r? `@joshka`
☀️ Try build successful - checks-actions |
I've never touched the |
Closing #137405
r? @joshka