File: 05metaspec.t

package info (click to toggle)
libtest-cpan-meta-json-perl 0.16-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 348 kB
  • sloc: perl: 1,640; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 290 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/perl -w
use strict;

use Test::More  tests => 3;
use Test::CPAN::Meta::JSON;

my $vers = '1.3';
my $test = 't/samples/00-META.json';

my $meta = meta_spec_ok($test,$vers);

#use Data::Dumper;
#diag(Dumper($meta));

is($meta->{license}, 'perl', 'hash value for license matches');