File tree 1 file changed +7
-5
lines changed
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.
172
172
## Editing and updating the reference files
173
173
174
174
If 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:
177
179
178
180
``` text
179
181
./x test tests/ui --bless
180
182
```
181
183
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 .
185
187
186
188
## Configuring test running
187
189
You can’t perform that action at this time.
0 commit comments