-
Notifications
You must be signed in to change notification settings - Fork 13k
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
doc-test: In Markdown tests, Use all of <h1>
to <h6>
as the test name
#44867
Conversation
r? @frewsxcv (rust_highfive has picked a reviewer for you, use r? to override) |
The rationale is to avoid useless CI output like #44480 (comment). The errors now look like:
I've conflated the |
It's a bit ugly from my point of view. :-/ |
What if we truncate to |
review reminder ping @GuillaumeGomez @QuietMisdreavus ! |
Okay yeah, i'm a little out of my depth as to what's exactly going on here, i'm going to let imperio take over. |
I appreciate the fact that you removed the |
…name. This mainly simplifies debugging error index tests, as the error codes are `<h2>`s in the huge document containing all codes.
a4e1850
to
0cdf587
Compare
@GuillaumeGomez Added comments to explain the changed role of The "after" is shown in #44867 (comment). The "before" is like:
|
Hi @GuillaumeGomez, have you had a chance to take another look at this? |
Forgot, sorry. And I still don't like it much. But if other people are interested, then it should get merged. Well anyway, please pick another reviewer, the technical side looks fine to me but I don't like the new output much. :-/ |
so... r? @alexcrichton ? @GuillaumeGomez or do you have suggestions that makes the output looks nice while ensuring the markdown tests still show the |
No I don't, that's why I'd like someone else review this in case they have a better idea. |
📌 Commit 0cdf587 has been approved by |
doc-test: In Markdown tests, Use all of `<h1>` to `<h6>` as the test name This mainly simplifies debugging error index tests, as the error codes are `<h2>`s in the huge document containing all codes.
☀️ Test successful - status-appveyor, status-travis |
This mainly simplifies debugging error index tests, as the error codes are
<h2>
s in the huge document containing all codes.