Subject: | 02_module_pod_output.t fails tests 3 and 7 when put into core perl |
I've just updated Pod-Perldoc to 3.27 in core perl, but had to exclude 02_module_pod_output.t because it fails two tests when run by "perl harness ..." from perl's t/ directory on Windows:
not ok 3 - got expected output in STDOUT
# Failed test 'got expected output in STDOUT'
# at t/02_module_pod_output.t line 40.
# undef
# doesn't match '(?^:Look up Perl documentation)'
not ok 7 - got expected output in STDERR
# Failed test 'got expected output in STDERR'
# at t/02_module_pod_output.t line 73.
# ''perl' is not recognized as an internal or external command
,
# operable program or batch file.
# '
# doesn't match '(?^:No documentation)'
If I install perl and build Pod-Perldoc-3.27 separately then it passes all tests, so it's something to do with the different environment that is used for running tests in the core.