More uses of type in the tests
[gitmo/Mouse.git] / t / 800_shikabased / 009-overwrite-builtin-subtype.t
index 659a1a6..d927a3f 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/;