Branch: refs/heads/jkeenan/gh-16140-pod-html
Home: https://github.com/Perl/perl5
Commit: 0c71052b108903a45280adbc0ce86df3e80db2b8
https://github.com/Perl/perl5/commit/0c71052b108903a45280adbc0ce86df3e80db2b8
Author: James E Keenan <[email protected]>
Date: 2021-02-02 (Tue, 02 Feb 2021)
Changed paths:
M ext/Pod-Html/t/crossref.t
M ext/Pod-Html/t/crossref2.t
M ext/Pod-Html/t/crossref3.t
M ext/Pod-Html/t/feature.t
M ext/Pod-Html/t/feature2.t
M ext/Pod-Html/t/htmldir1.t
M ext/Pod-Html/t/htmldir2.t
M ext/Pod-Html/t/htmldir3.t
M ext/Pod-Html/t/htmldir4.t
M ext/Pod-Html/t/htmldir5.t
M ext/Pod-Html/t/htmlview.t
M ext/Pod-Html/t/pod2html-lib.pl
M ext/Pod-Html/t/podnoerr.t
Log Message:
-----------
Make 3rd argument to convert_n_test a hash ref
Adapt all tests as needed to revised interface to convert_n_test().
Rationale: convert_n_test is wrapper around pod2html(), which takes a
list of strings each of which is formatted like a command-line switch
(e.g., '--verbose', 'podpath=.'). A string so passed might override a
default value set within convert_n_test(). To be absolutely unambiguous
about what's being passed to pod2html(), we should make sure that a
value is passed to pod2html() only once for a given switch.
This requires a bit of footwork to account for flag switches, but will
facilitate debugging. To get to that point, we revise convert_n_test()
to take a hashref as its third argument.