summaryrefslogtreecommitdiffstats
path: root/t/005-isa.t
blob: d21c7a7dd794641bbc11563da3026f6c4ea5e0bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env perl
use strict;
use warnings;
use Test::More;

use Stash::Manip;

{
    package Foo;
}

{
    package Bar;
}

my $stash = Stash::Manip->new('Foo');
my @ISA = ('Bar');
@{$stash->get_package_symbol('@ISA')} = @ISA;
isa_ok('Foo', 'Bar');

done_testing;