From: Shawn M Moore Date: Mon, 22 Dec 2008 03:27:52 +0000 (+0000) Subject: Coerce a type that won't fail us later (damn you Moose) X-Git-Tag: 0.19~87 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=da9a5e9d281da801c56f6a1f488825fcdb330fd5;p=gitmo%2FMouse.git Coerce a type that won't fail us later (damn you Moose) --- diff --git a/t/800_shikabased/002-coerce_multi_class.t b/t/800_shikabased/002-coerce_multi_class.t index 4fb0128..b2d26b8 100644 --- a/t/800_shikabased/002-coerce_multi_class.t +++ b/t/800_shikabased/002-coerce_multi_class.t @@ -68,9 +68,9 @@ eval { package Request; use Mouse::Util::TypeConstraints; - coerce 'Headers' => + coerce 'Int' => from 'XXX' => via { - Request::Headers->new(%{ $_ }); + 1 }, ; };