diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2019-01-05 20:04:50 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2019-01-05 20:04:50 +0000 |
commit | 5229da27b276b7a56dd6d7c892776720ffb974a1 (patch) | |
tree | 1009b448114574bc2c9c3005f7b1609360c90620 /regress/man/RS/literal.out_ascii | |
parent | 19b09bbc34fc7a6c2c6c12748d1b60a0f5690ee9 (diff) | |
download | mandoc-5229da27b276b7a56dd6d7c892776720ffb974a1.tar.gz |
Slowly start doing more HTML output tests, in this case for the
interaction of .nf and .RS, related to man_macro.c rev. 1.106.
HTML regression testing is tricky because it is extremely prone to
over-testing, i.e. unintentional testing for volatile formatting
details which are irrelevant for deciding whether the HTML output
is good or bad. Minor changes to the formatter - which is still
heavily under development - might result in the necessity to
repeatedly adjust many test cases.
Then again, HTML syntax rules are so complicated that without
regression testing, the risk is simply too high that later changes
will re-introduce issues that were already fixed earlier. Let's
just try to design the tests very carefully in such a way that
the *.out_html files contain nothing that is likely to change, and
defer testing in cases where the HTML output is not yet clean enough
to allow designing tests in such a way.
Diffstat (limited to 'regress/man/RS/literal.out_ascii')
-rw-r--r-- | regress/man/RS/literal.out_ascii | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/regress/man/RS/literal.out_ascii b/regress/man/RS/literal.out_ascii index a96741f3..bc3bd71b 100644 --- a/regress/man/RS/literal.out_ascii +++ b/regress/man/RS/literal.out_ascii @@ -6,15 +6,18 @@ NNAAMMEE RS-literal - indented literal text DDEESSCCRRIIPPTTIIOONN - regular text - literal - text + BEGINTEST + initial regular text + literal text + before display This is a short line. This is a very long line that would wrap if it weren't in literal context. - literal text - regular text + after display + final regular text + ENDTEST + end of file -OpenBSD January 5, 2013 RS-LITERAL(1) +OpenBSD January 5, 2019 RS-LITERAL(1) |