wjdp / htmltest

:white_check_mark: Test generated HTML for problems
MIT License
323 stars 54 forks source link

Tests don't take ignored-docs into consideration, and have misleading comments #228

Open chalin opened 8 months ago

chalin commented 8 months ago

This is related to:

Consider the following tests: https://github.com/wjdp/htmltest/blob/19cc89c592316dc933a5b9dcadc0c9b771a5f0f0/htmldoc/document_store_test.go#L9-L30

Note, in particular, the following two situations where the comments and code don't match:

The issue runs a deeper that just incorrect comments because the notion of document count has changed since the following fix has landed:

/assign @chalin