summaryrefslogtreecommitdiff
path: root/cpan/Test-Simple/t/versions.t
blob: e41e7ce3e0ea2142c18f586f366c944a1d7f576d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/perl -w

# Make sure all the modules have the same version
#
# TBT has its own version system.

use strict;
use Test::More;

require Test::Builder;
require Test::Builder::Module;
require Test::Simple;

my $dist_version = $Test::More::VERSION;

like( $dist_version, qr/^ \d+ \. \d+ $/x );
is( $dist_version, $Test::Builder::VERSION,             'Test::Builder' );
is( $dist_version, $Test::Builder::Module::VERSION,     'TB::Module' );
is( $dist_version, $Test::Simple::VERSION,              'Test::Simple' );

done_testing(4);