X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F800_shikabased%2F009-overwrite-builtin-subtype.t;h=ce8a99672975541ff2dd052be8ab1f00a3906791;hb=815f725aeff0bd44da8d75e7cd4ac456e9e60238;hp=659a1a6ed518983600e0a0b6c5bfd16b3cb0ce6a;hpb=3b46bd4991dea7ead4e7f52a089222d24554e2bd;p=gitmo%2FMouse.git diff --git a/t/800_shikabased/009-overwrite-builtin-subtype.t b/t/800_shikabased/009-overwrite-builtin-subtype.t index 659a1a6..ce8a996 100644 --- a/t/800_shikabased/009-overwrite-builtin-subtype.t +++ b/t/800_shikabased/009-overwrite-builtin-subtype.t @@ -6,6 +6,6 @@ eval { package Request; use Mouse::Util::TypeConstraints; - subtype 'Int' => where { 1}; + type 'Int' => where { 1}; }; -like $@, qr/The type constraint 'Int' has already been created, cannot be created again in Request/; +like $@, qr/The type constraint 'Int' has already been created in Mouse::Util::TypeConstraints and cannot be created again in Request/;