summaryrefslogtreecommitdiff
path: root/lib/base/t/version.t
blob: 2045a7fa798cf98805cea64743d625139ea2340a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/perl -w

BEGIN {
   if( $ENV{PERL_CORE} ) {
        chdir 't' if -d 't';
        @INC = qw(../lib ../lib/base/t/lib);
    }
}

use strict;

use Test::More tests => 1;

# Here we emulate a bug with base.pm not finding the Exporter version
# for some reason.
use lib qw(t/lib);
use base qw(Dummy);

is( $Dummy::VERSION, 5.562,       "base.pm doesn't confuse the version" );