You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ssbr opened this issue
Apr 14, 2023
· 2 comments
· Fixed by #110651
Labels
A-libtestArea: `#[test]` / the `test` libraryC-bugCategory: This is a bug.T-libsRelevant to the library team, which will review and decide on the PR/issue.
saethlin
added
A-libtest
Area: `#[test]` / the `test` library
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
labels
Apr 15, 2023
The test runner maintains a distinction between TrFailed and TrFailedMsg, except that the latter is only for failures with messages that come from the test suite (as opposed to panic messages). The testsuite doesn't distinguish between panic messages and otherwise, though it can for should_panic tests.
The simplest thing to do is probably just dump stdout inside the failure text body. I'm not sure if that's ideal, it would be nice if we could get it into message instead.
A-libtestArea: `#[test]` / the `test` libraryC-bugCategory: This is a bug.T-libsRelevant to the library team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: the string
PANICCC
in the test output, when runningcargo test -- --format=junit -Zunstable-options
.Instead, this happened:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: