More uses of type in the tests
[gitmo/Mouse.git] / t / 800_shikabased / 011-util-linear-isa.t
CommitLineData
272a1930 1use strict;
2use warnings;
3use Mouse::Util 'get_linear_isa';
4use Test::More tests => 2;
5
6{
7 package Parent;
8}
9
10{
11 package Child;
302b6751 12 unshift @Child::ISA, 'Parent';
272a1930 13}
14
302b6751 15is_deeply join(', ', @{get_linear_isa('Parent')}), 'Parent';
16is_deeply join(', ', @{get_linear_isa('Child')}), 'Child, Parent';
272a1930 17