Branch: refs/heads/smoke-me/jkeenan/pod-html-docs-conformance-20221209
Home: https://github.com/Perl/perl5
Commit: f1601e42bdfeb71f8b709c00de772536ea074dcf
https://github.com/Perl/perl5/commit/f1601e42bdfeb71f8b709c00de772536ea074dcf
Author: James E Keenan <[email protected]>
Date: 2023-01-11 (Wed, 11 Jan 2023)
Changed paths:
M MANIFEST
M ext/Pod-Html/t/htmldir5.t
A ext/Pod-Html/t/htmldir7.t
Log Message:
-----------
Pod::Html: Test --htmldir and --htmlroot separately
The documentation advises that '--htmldir' and '--htmlroot' should not be used
in the same call to pod2html, as they are mutually exclusive. However, two
files in the test suite have for a long time violated this advice.
This commit removes an instance of the "double call" from t/htmldir5.t and
moves a test of '--htmlroot' to new test file t/htmldir7.t. (This new test
file will, however, use the same POD input as t/htmldir5.t.) There is a
slight change in the HTML output, which is reflected in the "expected HTML" in
the DATA section of t/htmldir7.t. Test descriptions are modified
appropriately.