Esc

COMARK3607 · warning

comark/tests/malformed-xml

Fix the report's XML

A report whose XML isn't well-formed can't be counted, so the block renders nothing. The message gives the line. A report cut short, because the test run was killed while writing it, is the usual cause: run the tests again to rewrite it.

Incorrect

::tests
```xml
<testsuite>
  <testcase name="counts the ducks">
</testsuite>
```
::
md
lint-comark example.mdexample.md:1:1 comark/tests/malformed-xml::tests 1: its XML is malformed at line 3: </testsuite> closes <testcase>.Fix the report, or run the tests again to rewrite it.✖ 1 problem

Correct

::tests
```xml
<testsuite>
  <testcase name="counts the ducks"/>
</testsuite>
```
::
md
lint-comark example.md✔ No problems