projects
/
gitmo/MooseX-Types.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
added enum test, more docs both internal and external and a few minor code clarification
[gitmo/MooseX-Types.git]
/
t
/
lib
/
DecoratorLibrary.pm
diff --git
a/t/lib/DecoratorLibrary.pm
b/t/lib/DecoratorLibrary.pm
index
180a959
..
880b456
100644
(file)
--- a/
t/lib/DecoratorLibrary.pm
+++ b/
t/lib/DecoratorLibrary.pm
@@
-10,6
+10,7
@@
use MooseX::Types
MyHashRefOfStr
StrOrArrayRef
AtLeastOneInt
+ Jobs
)];
## Some questionable messing around
@@
-68,5
+69,8
@@
subtype StrOrArrayRef,
subtype AtLeastOneInt,
as ArrayRef[Int],
where { @$_ > 0 };
-
+
+enum Jobs,
+ (qw/Programming Teaching Banking/);
+
1;