blob: e77ef99cfff6c290642d29c055b0fb48be91964d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/usr/bin/perl -Tw
BEGIN {
if( $ENV{PERL_CORE} ) {
chdir 't';
@INC = ('../lib', 'lib');
}
else {
unshift @INC, 't/lib';
}
}
use strict;
use Test::More tests => 3;
BEGIN {
use_ok('Test::Harness');
}
my $ver = $ENV{HARNESS_VERSION} or die "HARNESS_VERSION not set";
ok( $ver =~ /^2.\d\d(_\d\d)?$/, "Version is proper format" );
is( $ver, $Test::Harness::VERSION );
|