Skip to content
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

Undeclared dependency URI #3

Closed
eserte opened this issue May 1, 2020 · 1 comment
Closed

Undeclared dependency URI #3

eserte opened this issue May 1, 2020 · 1 comment

Comments

@eserte
Copy link

eserte commented May 1, 2020

t/document.t and t/parse.t fail if URI.pm is not installed:

#   Failed test 'use Web::Microformats2;'
#   at t/document.t line 5.
#     Tried to use 'Web::Microformats2'.
#     Error:  Can't locate URI.pm in @INC (you may need to install the URI module) (@INC contains: ...  .) at /usr/home/cpansand/.cpan/build/2020042916/Web-Microformats2-0.510-6/blib/lib/Web/Microformats2/Parser.pm line 11.
# BEGIN failed--compilation aborted at /usr/home/cpansand/.cpan/build/2020042916/Web-Microformats2-0.510-6/blib/lib/Web/Microformats2/Parser.pm line 11.
# Compilation failed in require at /usr/home/cpansand/.cpan/build/2020042916/Web-Microformats2-0.510-6/blib/lib/Web/Microformats2.pm line 3.
# BEGIN failed--compilation aborted at /usr/home/cpansand/.cpan/build/2020042916/Web-Microformats2-0.510-6/blib/lib/Web/Microformats2.pm line 3.
# Compilation failed in require at t/document.t line 5.
# BEGIN failed--compilation aborted at t/document.t line 5.
Can't locate object method "new_from_json" via package "Web::Microformats2::Document" (perhaps you forgot to load "Web::Microformats2::Document"?) at t/document.t line 35.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 1.
t/document.t .. 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests 

#   Failed test 'use Web::Microformats2;'
#   at t/parse.t line 9.
#     Tried to use 'Web::Microformats2'.
#     Error:  Can't locate URI.pm in @INC (you may need to install the URI module) (@INC contains: ... .) at /usr/home/cpansand/.cpan/build/2020042916/Web-Microformats2-0.510-6/blib/lib/Web/Microformats2/Parser.pm line 11.
# BEGIN failed--compilation aborted at /usr/home/cpansand/.cpan/build/2020042916/Web-Microformats2-0.510-6/blib/lib/Web/Microformats2/Parser.pm line 11.
# Compilation failed in require at /usr/home/cpansand/.cpan/build/2020042916/Web-Microformats2-0.510-6/blib/lib/Web/Microformats2.pm line 3.
# BEGIN failed--compilation aborted at /usr/home/cpansand/.cpan/build/2020042916/Web-Microformats2-0.510-6/blib/lib/Web/Microformats2.pm line 3.
# Compilation failed in require at t/parse.t line 9.
# BEGIN failed--compilation aborted at t/parse.t line 9.
Can't locate object method "parse" via package "Web::Microformats2::Parser" at t/parse.t line 30.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 1.
t/parse.t ..... 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests 
@jmacdotorg
Copy link
Owner

Fixed with #2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants