projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Merge branch 'master' into method_generation_cleanup
[gitmo/Moose.git]
/
t
/
100_bugs
/
011_DEMOLISH_eats_exceptions.t
diff --git
a/t/100_bugs/011_DEMOLISH_eats_exceptions.t
b/t/100_bugs/011_DEMOLISH_eats_exceptions.t
index
7574db7
..
31edb46
100644
(file)
--- a/
t/100_bugs/011_DEMOLISH_eats_exceptions.t
+++ b/
t/100_bugs/011_DEMOLISH_eats_exceptions.t
@@
-11,7
+11,7
@@
use Moose::Util::TypeConstraints;
subtype 'FilePath'
=> as 'Str'
- => where { $_ =~ m#^(/[a-zA-Z0-9_.-]+)+$#
+ => where { $_ =~ m#^(/[a-zA-Z0-9_.-]+)+/?$#
|| $_ =~ m#^([c-zC-Z]:/[a-zA-Z0-9_.-]+)# };
{
package Baz;