in reply to Re: Let's play 'explain the error' in test suite for HTML::Tidy
in thread Let's play 'explain the error' in test suite for HTML::Tidy

Sorry about the delay in responding. Yitzchak wrote:

I'm assuming the test first failed when run from the harness?

Your assumption is correct.

I don't visually see why it is failing, do you (given the raw actual output)?

That's right, I cannot see where the failure is. I guess it's trying to match a multi-line pattern (the second chunk of text) against the first chunk. The line below contains the only regexp metachars:

# <meta name="generator" content="[^"]+">

It's not a very important failure, I think, but after the amount of work I put into building a libtidy.a to link in the module build, I wanted a perfect suite of tests.

    — Soren

Sep 23, 2025 at 01:21 UTC