X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F800_shikabased%2F009-overwrite-builtin-subtype.t;h=d927a3f8fb93ffb06c04a712cf020a1e425ad28d;hb=3fa6f35df998618abdf763f4e4a060ba8f450a35;hp=659a1a6ed518983600e0a0b6c5bfd16b3cb0ce6a;hpb=0d9fea2202e3abf87e59f693afab640548faeef5;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..d927a3f 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/;