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

zzz-check-breaks.t fails on CPAN::Meta::Requirements < 2.120920 #563

Closed
kentfredric opened this issue Apr 13, 2015 · 0 comments
Closed

zzz-check-breaks.t fails on CPAN::Meta::Requirements < 2.120920 #563

kentfredric opened this issue Apr 13, 2015 · 0 comments

Comments

@kentfredric
Copy link

As per email on Exodists /Achieve doc,

t/zzz-check-breaks.t ............... Can't locate object method "requirements_for_module" via package "CPAN::Meta::Requirements" at t/zzz-check-breaks.t line 43.

The function in question did not exist prior to 2.120920

so the eval needs to read:

eval {
    require CPAN::Meta;
    require CPAN::Meta::Requirements;
    CPAN::Meta::Requirements->VERSION(2.120920);
    require Module::Metadata;
    1
}
exodist added a commit that referenced this issue Apr 13, 2015
@exodist exodist closed this as completed Apr 13, 2015
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