Typo fix in overload docs
[p5sagit/p5-mst-13.2.git] / lib / CPAN / t / 11mirroredby.t
CommitLineData
d93d2cac 1#!/usr/bin/perl -w
2
3BEGIN {
4 if ($ENV{PERL_CORE}) {
5 chdir 't' if -d 't';
6 unshift @INC, '../lib';
7 }
8}
9
10use strict;
5fc0f0f6 11use lib "BUNDLE";
d93d2cac 12use Test::More tests => 6;
13
14use_ok( 'CPAN::FirstTime' );
15can_ok( 'CPAN::Mirrored::By', 'new', 'continent', 'country', 'url' );
16my $cmb = CPAN::Mirrored::By->new();
17isa_ok( $cmb, 'CPAN::Mirrored::By' );
18
19@$cmb = qw( continent country url );
20is( $cmb->continent(), 'continent',
21 'continent() should return continent entry' );
22is( $cmb->country(), 'country', 'country() should return country entry' );
23is( $cmb->url(), 'url', 'url() should return url entry' );
554a9ef5 24
0cf35e6a 25__END__
554a9ef5 26# Local Variables:
27# mode: cperl
28# cperl-indent-level: 2
29# End: