projects
/
gitmo/Mouse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
More uses of type in the tests
[gitmo/Mouse.git]
/
t
/
800_shikabased
/
009-overwrite-builtin-subtype.t
diff --git
a/t/800_shikabased/009-overwrite-builtin-subtype.t
b/t/800_shikabased/009-overwrite-builtin-subtype.t
index
9bdd60c
..
d927a3f
100644
(file)
--- a/
t/800_shikabased/009-overwrite-builtin-subtype.t
+++ b/
t/800_shikabased/009-overwrite-builtin-subtype.t
@@
-4,8
+4,8
@@
use Test::More tests => 1;
eval {
package Request;
- use Mouse::TypeRegistry;
+ 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/;