projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
ea505fc
)
don't reject win32 filenames (Yappo)
Jonathan Rockway [Mon, 15 Dec 2008 10:35:25 +0000 (10:35 +0000)]
t/100_bugs/011_DEMOLISH_eats_exceptions.t
patch
|
blob
|
blame
|
history
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;