Keep track of the source package of each type; other cleanups
[gitmo/Mouse.git] / t / 800_shikabased / 009-overwrite-builtin-subtype.t
index 659a1a6..ce8a996 100644 (file)
@@ -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/;