blob: 0b64f9eef3baa7e5a8d4b3f0eaaad2a23a78a9a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!./perl
BEGIN {
unless (-d 'blib') {
chdir 't' if -d 't';
@INC = '../lib';
require Config; import Config;
keys %Config; # Silence warning
if ($Config{extensions} !~ /\bList\/Util\b/) {
print "1..0 # Skip: List::Util was not built\n";
exit 0;
}
}
}
use Test::More tests => 2;
# force perl-only version to be tested
$List::Util::TESTING_PERL_ONLY = $List::Util::TESTING_PERL_ONLY = 1;
require Scalar::Util;
require List::Util;
is( $Scalar::Util::PP::VERSION, $List::Util::VERSION, "VERSION mismatch");
is( $List::Util::PP::VERSION, $List::Util::VERSION, "VERSION mismatch");
|