Skip to content

Commit

Permalink
Fix meta-json/yaml for Perl 5.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pmqs committed Mar 31, 2019
1 parent 722e704 commit c1181ae
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions t/meta-json.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
BEGIN {
if ($ENV{PERL_CORE}) {
chdir 't' if -d 't';
@INC = ("../lib", "lib/compress");
}
}

use lib qw(t t/compress);
use Test::More;
eval "use Test::CPAN::Meta::JSON";
plan skip_all => "Test::CPAN::Meta::JSON required for testing META.json" if $@;
Expand Down
8 changes: 8 additions & 0 deletions t/meta-yaml.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
BEGIN {
if ($ENV{PERL_CORE}) {
chdir 't' if -d 't';
@INC = ("../lib", "lib/compress");
}
}

use lib qw(t t/compress);
use Test::More;
eval "use Test::CPAN::Meta";
plan skip_all => "Test::CPAN::Meta required for testing META.yml" if $@;
Expand Down

0 comments on commit c1181ae

Please sign in to comment.