New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test fail fix #2

Open
wants to merge 3 commits into
base: master
from

Conversation

Projects
None yet
1 participant
@Varadinsky

Varadinsky commented Apr 4, 2016

CPAN PRC :-)

Test script:
t/hailo/synopsis.t'

Test fail example:
http://www.cpantesters.org/cpan/report/92920996-f531-11e5-bf19-899010d7819d

extract_synopsis subroutine from Test::Synopsis is private. It was rewritten and renamed in 0.14 release of Test::Synopsis.

I decided to replace Test::Synopsis with: Pod::Section - which exports "select_podsection" subroutine that will get synopsis pod section the same way.

I also updated the heredoc - looks like it did not interpolate the $synopsis variable since it acted as a single quoted string.

Varadinsky added some commits Apr 4, 2016

Fix test fail with Test::Synopsis release 0.14+
extract_synopsis (_extract_synopsis) subroutine is private.

Test::Synopsis is now replaced with Pod::Section.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment