about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorTshepang Mbambo <tshepang@gmail.com>2025-03-10 11:12:44 +0200
committerGitHub <noreply@github.com>2025-03-10 11:12:44 +0200
commit7c6d6e30be0d1437862f26e3c66c71b2590fc79b (patch)
treec5be8171390470bc156540410dfb1952b0611b57 /src/doc
parente9088e46f91fa3ef4ae8e7bee0d5190fa627734f (diff)
downloadrust-7c6d6e30be0d1437862f26e3c66c71b2590fc79b.tar.gz
rust-7c6d6e30be0d1437862f26e3c66c71b2590fc79b.zip
clean --bless text
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rustc-dev-guide/src/tests/running.md12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/running.md b/src/doc/rustc-dev-guide/src/tests/running.md
index 05a56579108..eb763215a6d 100644
--- a/src/doc/rustc-dev-guide/src/tests/running.md
+++ b/src/doc/rustc-dev-guide/src/tests/running.md
@@ -172,16 +172,18 @@ additional arguments to the compiler when building the tests.
 ## Editing and updating the reference files
 
 If you have changed the compiler's output intentionally, or you are making a new
-test, you can pass `--bless` to the test subcommand. E.g. if some tests in
-`tests/ui` are failing, you can run
+test, you can pass `--bless` to the test subcommand.
+
+As an example,
+if some tests in `tests/ui` are failing, you can run this command:
 
 ```text
 ./x test tests/ui --bless
 ```
 
-to automatically adjust the `.stderr`, `.stdout` or `.fixed` files of
-all tests. Of course you can also target just specific tests with the
-`--test-args your_test_name` flag, just like when running the tests.
+It automatically adjusts the `.stderr`, `.stdout`, or `.fixed` files of all `test/ui` tests.
+Of course you can also target just specific tests with the `--test-args your_test_name` flag,
+just like when running the tests without the `--bless` flag.
 
 ## Configuring test running