Subject: | add test for unclosed pod in C source |
Date: | Sun, 12 Feb 2012 00:19:57 +1100 |
To: | bug-Imager [...] rt.cpan.org |
From: | tonyc [...] cpan.org |
I document Imager's API with POD in the C source files.
Similarly for internal functions.
Tonight I spend a couple of hours trying to figure out why
Devel::Cover wasn't showing the coverage for i_psamp_p and i_psampf_p
in palimg.c - it was because the C<=item i_psamp_p> didn't have a
closing =cut, so Devel::Cover treated that block to the end of file as
a comment.
So add an unshipped test to detect:
=item foo
(no =cut here)
*/