Without a test comment, failures appear as bare 'not ok N' lines with no indication of which file failed or what codespell found. Passing the filename as the third argument to is() means: - Every passing test shows: ok N - path/to/file - Every failing test shows: not ok N - path/to/file Test plan: 1. Apply patch 2. Introduce a deliberate spelling error in any .pl file 3. prove xt/author/codespell.t => Failing line shows the filename and the codespell finding inline, without needing to dig into full console logs Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> |
||
|---|---|---|
| .. | ||
| Text_CSV_Various.t | ||
| codespell.t | ||
| icondirectories.t | ||
| pod_checker.t | ||
| pod_coverage.t | ||
| podcorrectness.t | ||
| show-template-structure.pl | ||
| tt_valid.t | ||
| valid-templates.t | ||