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