Skip to content

Commit 18b497a

Browse files
authored
[red-knot] Fixup a couple of nits in the red_knot_test README (#15996)
1 parent 7cac0da commit 18b497a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

crates/red_knot_test/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ syntax, it's just how this README embeds an example mdtest Markdown document.)
3434
See actual example mdtest suites in
3535
[`crates/red_knot_python_semantic/resources/mdtest`](https://github.com/astral-sh/ruff/tree/main/crates/red_knot_python_semantic/resources/mdtest).
3636

37-
> ℹ️ Note: If you use `dir-test`, `rstest` or similar to generate a separate test for all Markdown files in a certain directory,
37+
> [!NOTE]
38+
> If you use `dir-test`, `rstest` or similar to generate a separate test for all Markdown files in a certain directory,
3839
> as with the example in `crates/red_knot_python_semantic/tests/mdtest.rs`,
3940
> you will likely want to also make sure that the crate the tests are in is rebuilt every time a
4041
> Markdown file is added or removed from the directory. See
@@ -126,7 +127,7 @@ Intervening empty lines or non-assertion comments are not allowed; an assertion
126127
assertion per line, immediately following each other, with the line immediately following the last
127128
assertion as the line of source code on which the matched diagnostics are emitted.
128129

129-
## Literal style
130+
## Literate style
130131

131132
If multiple code blocks (without an explicit path, see below) are present in a single test, they will
132133
be merged into a single file in the order they appear in the Markdown file. This allows for tests that

0 commit comments

Comments
 (0)