remove trailing whitespace
[gitmo/Moose.git] / t / 100_bugs / 004_subclass_use_base_bug.t
CommitLineData
fcb7afc2 1#!/usr/bin/perl
2
3use strict;
4use warnings;
5
7ff56534 6use Test::More tests => 2;
7
fcb7afc2 8
fcb7afc2 9
10=pod
11
d03bd989 12This just makes sure that the Bar gets
fcb7afc2 13a metaclass initialized for it correctly.
14
15=cut
16
17{
d03bd989 18 package Foo;
19 use Moose;
fcb7afc2 20
d03bd989 21 package Bar;
fcb7afc2 22 use strict;
23 use warnings;
d03bd989 24
25 use base 'Foo';
fcb7afc2 26}
27
28my $bar = Bar->new;
29isa_ok($bar, 'Bar');
30isa_ok($bar, 'Foo');