summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2009-02-02 00:08:24 -0500
committerdoy <doy@tozt.net>2009-02-02 00:08:24 -0500
commit97f2298de0da9ec8c03c9e8215cfcd83439768a3 (patch)
treeabe10c60dfc77ecd40ab718751c60d86ea25c62d
parent8dc3efef28b5df4ed264fb377b73b14fa93c01c0 (diff)
downloadmoosex-role-matcher-97f2298de0da9ec8c03c9e8215cfcd83439768a3.tar.gz
moosex-role-matcher-97f2298de0da9ec8c03c9e8215cfcd83439768a3.zip
fix a warning in the tests, now that all coderef matches are actually being called
-rw-r--r--t/004-submatching.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/004-submatching.t b/t/004-submatching.t
index 3eb2b96..e9f2d22 100644
--- a/t/004-submatching.t
+++ b/t/004-submatching.t
@@ -99,7 +99,7 @@ package main;
a => 4,
},
baz => {
- d => sub { length == 4 },
+ d => sub { defined && length == 4 },
a => {
b => 5,
c => qr/\d/,