This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Upgrade to base and fields 2.12, mostly by Michael G Schwern
[perl5.git] / lib / base / t / version.t
1 #!/usr/bin/perl -w
2
3 BEGIN {
4    if( $ENV{PERL_CORE} ) {
5         chdir 't' if -d 't';
6         @INC = qw(../lib ../t/lib);
7     }
8 }
9
10 use strict;
11
12 use Test::More tests => 1;
13
14 # Here we emulate a bug with base.pm not finding the Exporter version
15 # for some reason.
16 use lib qw(t/lib);
17 use base qw(Dummy);
18
19 is( $Dummy::VERSION, 5.562,       "base.pm doesn't confuse the version" );