diff options
author | Jesse Luehrs <doy@tozt.net> | 2011-03-02 22:32:12 -0600 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2011-03-02 22:35:04 -0600 |
commit | f4a6e54d951725428aef71f0d81ab9f1e438d53c (patch) | |
tree | 864fa797068aabcb11864044ed869c7708ef1087 /t/22-more-inheritance.t | |
parent | 565afc7a56c520e8bf20dd8415d72481e861ed31 (diff) | |
download | bread-board-declare-f4a6e54d951725428aef71f0d81ab9f1e438d53c.tar.gz bread-board-declare-f4a6e54d951725428aef71f0d81ab9f1e438d53c.zip |
more with_immutable
Diffstat (limited to 't/22-more-inheritance.t')
-rw-r--r-- | t/22-more-inheritance.t | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/t/22-more-inheritance.t b/t/22-more-inheritance.t index d13639b..94d726c 100644 --- a/t/22-more-inheritance.t +++ b/t/22-more-inheritance.t @@ -2,6 +2,7 @@ use strict; use warnings; use Test::More; +use Test::Moose; { package Parent; @@ -75,6 +76,7 @@ use Test::More; ); } +with_immutable { { my $obj = Parent->new; is($obj->foo, 'parent'); @@ -98,5 +100,6 @@ use Test::More; is($obj->foo, 'child'); is($obj->bar, 'child child'); } +} 'Parent', 'Child1', 'Child2', 'Child3'; done_testing; |