projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
07eeacb
)
this tests defining the same type twice
Dave Rolsky [Tue, 30 Sep 2008 14:14:37 +0000 (14:14 +0000)]
t/040_type_constraints/029_define_type_twice_throws.t
[moved from
t/040_type_constraints/029_define_constraint_twice_throws.t
with 83% similarity]
patch
|
blob
|
blame
|
history
diff --git
a/t/040_type_constraints/029_define_constraint_twice_throws.t
b/t/040_type_constraints/029_define_type_twice_throws.t
similarity index 83%
rename from
t/040_type_constraints/029_define_constraint_twice_throws.t
rename to
t/040_type_constraints/029_define_type_twice_throws.t
index
df553fc
..
190f123
100644
(file)
--- a/
t/040_type_constraints/029_define_constraint_twice_throws.t
+++ b/
t/040_type_constraints/029_define_type_twice_throws.t
@@
-22,5
+22,5
@@
throws_ok {
use Moose::Util::TypeConstraints;
subtype 'MySubType' => as 'Int' => where { 1 };
-} qr/cannot be created again/, 'Trying to create same constraint twice throws';
+} qr/cannot be created again/, 'Trying to create same type twice throws';