~ubuntu-branches/ubuntu/saucy/libdist-zilla-plugins-cjm-perl/saucy

« back to all changes in this revision

Viewing changes to t/template.t

  • Committer: Package Import Robot
  • Author(s): Dominique Dumont, gregor herrmann, Salvatore Bonaccorso, Dominique Dumont
  • Date: 2013-05-29 22:46:13 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20130529224613-44txv0vy08phcol9
Tags: 4.14-1
[ gregor herrmann ]
* debian/control: update {versioned,alternative} (build) dependencies.

[ Salvatore Bonaccorso ]
* Change Vcs-Git to canonical URI (git://anonscm.debian.org)
* Change search.cpan.org based URIs to metacpan.org based URIs

[ Dominique Dumont ]
* Imported Upstream version 4.14
* copyright: updated years and my email address
* control:
  + added dep on libcpan-meta-requirements-perl
  - removed duplicated perl dep
  * bumped standard version
* compat: bumped to 9

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
use strict;
5
5
use warnings;
6
 
use Test::More 0.88 tests => 6; # done_testing
 
6
use Test::More 0.88 tests => 7; # done_testing
7
7
 
8
8
use Test::DZil 'Builder';
9
9
 
21
21
[Prereqs]
22
22
Foo::Bar = 1.00
23
23
Bloofle  = 0
 
24
Baz      = v1.2.3
 
25
perl     = 5.008
24
26
END START
25
27
 
26
28
  $ini . join('', map { "$_\n" } @_);
93
95
 
94
96
  Package   Minimum Version
95
97
  --------- ---------------
 
98
  perl       5.8.0
 
99
  Baz        1.2.3
96
100
  Bloofle
97
101
  Foo::Bar   1.00
98
102
END DEPEND
134
138
            "L<Foo::Bar> (1.00 or later).\n"),
135
139
    'POD in module',
136
140
  );
 
141
 
 
142
  my $manual = $tzil->slurp_file('build/lib/DZT/Manual.pod');
 
143
 
 
144
  like(
 
145
    $manual,
 
146
    qr{^\QThis document (DZT::Manual) describes DZT-Sample 0.04.\E\n}m,
 
147
    'VERSION in manual',
 
148
  );
137
149
}
138
150
 
139
151
done_testing;