summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2008-12-06 21:52:59 -0500
committerdoy <doy@tozt.net>2008-12-06 21:52:59 -0500
commitba4e862f0e637237c5d4439a8798c691cade0e69 (patch)
tree9182483db35f6ea34a985c04dc36c9a22e5f8b05 /t
parentc08637724b51da7117cb1a1d9b49a3e89c14e45e (diff)
downloadmoosex-role-matcher-ba4e862f0e637237c5d4439a8798c691cade0e69.tar.gz
moosex-role-matcher-ba4e862f0e637237c5d4439a8798c691cade0e69.zip
just test truth/falseness for any_match
Diffstat (limited to 't')
-rw-r--r--t/100-collection.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/100-collection.t b/t/100-collection.t
index 68dcec1..9c406e7 100644
--- a/t/100-collection.t
+++ b/t/100-collection.t
@@ -53,7 +53,7 @@ push @{ $foos->foos }, $foo2;
push @{ $foos->foos }, $foo3;
is($foos->first_match(a => ''), $foo2,
'first_match works');
-is($foos->any_match('!b' => qr/z/), (),
+ok(!$foos->any_match(b => qr/z/),
'any_match works');
is_deeply([shallow($foo2), shallow($foo3)], set($foos->grep_matches(c => qr/o/)),
'grep_matches works');