perl5-dbi/DBD-mysql

POD Error in mysql.pm results in failed `make test`

Closed this issue · 3 comments

DBD::mysql version

DBD-mysql-5.005

MySQL client version

8.0.36

Server version

8.0.36-0ubuntu0.22.04.1 (Ubuntu)

Operating system version

Ubuntu 22.04.4 LTS

What happened?

make test failed on t/pod.t with:

#   Failed test 'POD test for blib/lib/DBD/mysql.pm'
#   at /home/starman/perl5/perlbrew/perls/perl-5.36.3/lib/site_perl/5.36.3/Test/Pod.pm line 184.
# blib/lib/DBD/mysql.pm (1350): You forgot a '=back' before '=head1'
# Looks like you failed 1 test of 3.

Other information

Adding the missing =back before line 1350 fixes the issue

replicate using podchecker:

$ podchecker DBD-mysql-5.005/lib/DBD/mysql.pm 
*** ERROR: You forgot a '=back' before '=head1' at line 1350 in file DBD-mysql-5.005/lib/DBD/mysql.pm
DBD-mysql-5.005/lib/DBD/mysql.pm has 1 pod syntax error.

I think this is a duplicate of #426

Note that I've released 5.006 with the fix for this issue.