File tree 1 file changed +3
-2
lines changed 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,8 @@ syntax, it's just how this README embeds an example mdtest Markdown document.)
34
34
See actual example mdtest suites in
35
35
[ ` crates/red_knot_python_semantic/resources/mdtest ` ] ( https://github.com/astral-sh/ruff/tree/main/crates/red_knot_python_semantic/resources/mdtest ) .
36
36
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,
38
39
> as with the example in ` crates/red_knot_python_semantic/tests/mdtest.rs ` ,
39
40
> you will likely want to also make sure that the crate the tests are in is rebuilt every time a
40
41
> 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
126
127
assertion per line, immediately following each other, with the line immediately following the last
127
128
assertion as the line of source code on which the matched diagnostics are emitted.
128
129
129
- ## Literal style
130
+ ## Literate style
130
131
131
132
If multiple code blocks (without an explicit path, see below) are present in a single test, they will
132
133
be merged into a single file in the order they appear in the Markdown file. This allows for tests that
You can’t perform that action at this time.
0 commit comments