changelog
[gitmo/Package-Stash.git] / t / 05-isa.t
CommitLineData
b746972e 1#!/usr/bin/env perl
2use strict;
3use warnings;
2905fb35 4use lib 't/lib';
b746972e 5use Test::More;
6
e94260da 7use Package::Stash;
b746972e 8
9{
10 package Foo;
11}
12
13{
14 package Bar;
15}
16
e94260da 17my $stash = Package::Stash->new('Foo');
b746972e 18my @ISA = ('Bar');
2905fb35 19@{$stash->get_or_add_symbol('@ISA')} = @ISA;
b746972e 20isa_ok('Foo', 'Bar');
21
22done_testing;