Add tests for enum
authorShawn M Moore <sartak@gmail.com>
Sun, 21 Oct 2007 04:11:55 +0000 (04:11 +0000)
committerShawn M Moore <sartak@gmail.com>
Sun, 21 Oct 2007 04:11:55 +0000 (04:11 +0000)
commitc4fe165f59754f765c60f046d084049005550fd8
tree557dec2d46a4e2beba01665b6bcefb573d1751a5
parent376a56f70358287eb0d397f29a0a9dab5a0725ff
Add tests for enum
Switch to using a hash which is certainly faster and actually works
The regex was broken in a few ways: improper anchoring, no escaping of metachars
lib/Moose/Util/TypeConstraints.pm
t/040_type_constraints/015_enum.t [new file with mode: 0644]