blob: 7faace9f592e4c53df90904469b9eef725b0a251 (
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";
like( $ver, qr/^2.\d\d(_?\d\d)?$/, "Version is proper format" );
is( $ver, $Test::Harness::VERSION );
|