File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -172,16 +172,18 @@ additional arguments to the compiler when building the tests.
172172## Editing and updating the reference files
173173
174174If you have changed the compiler's output intentionally, or you are making a new
175- test, you can pass ` --bless ` to the test subcommand. E.g. if some tests in
176- ` tests/ui ` are failing, you can run
175+ test, you can pass ` --bless ` to the test subcommand.
176+
177+ As an example,
178+ if some tests in ` tests/ui ` are failing, you can run this command:
177179
178180``` text
179181./x test tests/ui --bless
180182```
181183
182- to automatically adjust the ` .stderr ` , ` .stdout ` or ` .fixed ` files of
183- all tests. Of course you can also target just specific tests with the
184- ` --test-args your_test_name ` flag, just like when running the tests.
184+ It automatically adjusts the ` .stderr ` , ` .stdout ` , or ` .fixed ` files of all ` test/ui ` tests.
185+ Of course you can also target just specific tests with the ` --test-args your_test_name ` flag,
186+ just like when running the tests without the ` --bless ` flag .
185187
186188## Configuring test running
187189
You can’t perform that action at this time.
0 commit comments