Skip to content

Commit 1b6f1a5

Browse files
committed
clarify test suite is not formatted
1 parent 7d6e412 commit 1b6f1a5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/conventions.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ Instead, formatting should be done using `./x fmt`. It's a good habit to run
2121
Formatting is checked by the `tidy` script. It runs automatically when you do
2222
`./x test` and can be run in isolation with `./x fmt --check`.
2323

24+
We do not check that tests under the `tests/` directory are formatted, and
25+
similarly the `./x fmt` command will not format any files under that directory.
26+
2427
If you want to use format-on-save in your editor, the pinned version of
2528
`rustfmt` is built under `build/<target>/stage0/bin/rustfmt`.
2629

0 commit comments

Comments
 (0)