diff options
Diffstat (limited to 't/005-isa.t')
-rw-r--r-- | t/005-isa.t | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/t/005-isa.t b/t/005-isa.t new file mode 100644 index 0000000..d21c7a7 --- /dev/null +++ b/t/005-isa.t @@ -0,0 +1,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; |