Ticket #222 (closed bug: fixed)
Test failure in t/perl/Parrot_Docs.t
Reported by: | mikehh | Owned by: | jkeenan |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | none | Version: | trunk |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | new | Platform: | all |
Description
The Test t/perl/Parrot+Docs.t fails (as at revision 35953) as follows:
ok 1 - use Parrot::Docs::POD2HTML;
...
ok 15 - num_pod_errors none
not ok 16 - pod_as_html
# Failed test 'pod_as_html'
# at t/perl/Parrot_Docs.t line 63.
# '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
# " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
# <html xmlns=" http://www.w3.org/1999/xhtml">
....... ---- fails here
# <head>
...
...
# </body>
# </html>
# '
# doesn't match '(?si-xm:<html>.*?</html>)'
ok 17 - contains_pod yes, errors
...
ok 25 - write_html
looks like you failed 1 test of 25.
The test should be be '<html.*?</html>' dropping the '>' as the above is valid.
Patch included
Cheers,
Michael