Esc

COMARK3602 · warning

comark/tests/content-dropped

Use src or a fence in ::tests, not both

A ::tests with a src reads its report from that file, so anything written inside the block is dropped. Keep the report in one place: point src at the file, or paste the XML in a fence and remove src.

Incorrect

::tests{src="junit.xml"}
```xml
<testsuite><testcase name="counts the ducks"/></testsuite>
```
::
md
lint-comark example.mdexample.md:1:1 comark/tests/content-dropped::tests 1 ("junit.xml"): it drops what's inside it, since it reads src.Use one or the other.✖ 1 problem

Correct

::tests{src="junit.xml"}
::
md
lint-comark example.md✔ No problems