Skip to content

Commit 7ef41b4

Browse files
committed
re-flow
1 parent 42b108e commit 7ef41b4

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

src/tests/adding.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ It should now pass, yay!
148148

149149
Somewhat hand-in-hand with the previous step, you should inspect the `.stderr`
150150
file that was created to see if it looks like how you expect.
151-
If you are adding
152-
a new diagnostic message, now would be a good time to also consider how readable
153-
the message looks overall, particularly for people new to Rust.
151+
If you are adding a new diagnostic message,
152+
now would be a good time to also consider how readable the message looks overall,
153+
particularly for people new to Rust.
154154

155155
Our example `tests/ui/async-await/await-without-async.stderr` file should look
156156
like this:
@@ -206,9 +206,8 @@ highlight what is important about it.
206206
If there is an issue number associated with the test, include the issue number.
207207

208208
This comment doesn't have to be super extensive.
209-
Just something like "Regression
210-
test for #18060: match arms were matching in the wrong order." might already be
211-
enough.
209+
Just something like the following might be enough:
210+
"Regression test for #18060: match arms were matching in the wrong order".
212211

213212
These comments are very useful to others later on when your test breaks, since
214213
they often can highlight what the problem is.

0 commit comments

Comments
 (0)