summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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');