From: Shawn M Moore Date: Tue, 9 Dec 2008 04:34:55 +0000 (+0000) Subject: Add type constraint X-Git-Tag: 0.19~120 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b4160dbe7bdfeacc3f559cf3eb9b792a5794a62b;p=gitmo%2FMouse.git Add type constraint --- diff --git a/t/022-init-arg.t b/t/022-init-arg.t index ca65fbc..9546e3d 100644 --- a/t/022-init-arg.t +++ b/t/022-init-arg.t @@ -9,6 +9,7 @@ do { has name => ( is => 'rw', + isa => 'Str', init_arg => 'key', default => 'default', );