Subject: | "Empty L<>" warning during tests |
Date: | Fri, 10 Jan 2014 17:18:32 +0000 |
To: | bug-Pod-HtmlEasy [...] rt.cpan.org |
From: | Zefram <zefram [...] fysh.org> |
Warning generated during testing:
t/bugs.t ..... 1/? Empty L<> at /opt/perl-5.18.1/cpan/build/Pod-HtmlEasy-1.1.10-sHu9K8/blib/lib/Pod/HtmlEasy.pm line 258.
t/bugs.t ..... ok
As there's a test case that's specifically testing with an empty L<>,
you really ought to capture warnings from the parser run, check for
that warning, and not send the expected warning to the real stderr.
You could similarly check that the other parser runs don't emit warnings.
-zefram