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

Fix for off-by-one error in codeline() - issue #16 #17

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
1 participant
@openstrike

openstrike commented May 29, 2017

This fixes the error reported in issue #16 whereby two of the tests of codeline() were failing due to it returning an empty string. After applying this patch all tests pass for me. (Note that dzil bumped the version number in Makefile.PL but that I have not included that in this PR as it's up to you when to bump the version).

This work has been done as part of the CPAN Pull Request Challenge - thanks for taking part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment