File: 05metaspec.t

package info (click to toggle)
libtest-yaml-meta-perl 0.11-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 220 kB
  • ctags: 29
  • sloc: perl: 703; makefile: 42
file content (15 lines) | stat: -rw-r--r-- 283 bytes parent folder | download | duplicates (2)
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::YAML::Meta;

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

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

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

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