From 06f919c57dfc917e50e6858100cfbe3a1b57a1be Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 21 Feb 2011 01:53:08 -0600 Subject: make sure i'm testing immutability too --- t/33-constructor-name.t | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 't/33-constructor-name.t') diff --git a/t/33-constructor-name.t b/t/33-constructor-name.t index 28647ee..ef46338 100644 --- a/t/33-constructor-name.t +++ b/t/33-constructor-name.t @@ -2,6 +2,7 @@ use strict; use warnings; use Test::More; +use Test::Moose; { package Bar; @@ -22,9 +23,9 @@ use Test::More; ); } -{ +with_immutable { my $foo = Foo->new; isa_ok($foo->bar, 'Bar'); -} +} 'Foo'; done_testing; -- cgit v1.2.3-54-g00ecf