tokuhirom / Test-Pretty

Other
20 stars 17 forks source link

Test::Builder::share is used, but this doesn't exist #30

Open reneeb opened 9 years ago

reneeb commented 9 years ago

This is what I get (and I have seen other CPANTester reports with this message as well):

Can't locate object method "share" via package "Test::Builder" at /home/mojolicious/.cpanm/work/1421662858.23845/Test-Pretty-0.30/blib/lib/Test/Pretty.pm line 234.

tokuhirom commented 9 years ago

What your Test::Builder version? Please tell me the result of perl -MTest::Builder¥ 9

reneeb commented 9 years ago
$ perl -MTest::Builder\ 9 -e 1
Test::Builder version 9 required--this is only version 1.30100109.
BEGIN failed--compilation aborted.
$ perl -v

This is perl 5, version 21, subversion 7 (v5.21.7) built for x86_64-linux
(with 1 registered patch, see perl -V for more detail)
lejeunerenard commented 9 years ago

@reneeb,

I believe the problem is that you and all the reports failing on CPANTester for linux and perl 5.27.1 are using alpha versions of Test::Simple. #28 is currently a version of Test::Pretty in the works which supports the new alpha API.

If you'd like to try installing the #28 version and let me know if you find any errors, I'd be grateful. Otherwise, I would not expect Test::Pretty to work with an alpha version of Test::Simple just yet.