diff options
Diffstat (limited to 't')
-rw-r--r-- | t/002-complicated-matching.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/002-complicated-matching.t b/t/002-complicated-matching.t index bcf2399..80d081c 100644 --- a/t/002-complicated-matching.t +++ b/t/002-complicated-matching.t @@ -21,5 +21,5 @@ ok($foo->match(a => [qr/b/, sub { length(shift) == 3 }]), 'arrayref matching works'); ok(!$foo->match(a => [qr/b/, sub { length(shift) == 4 }]), 'arrayref matching works'); -ok($foo->match(not_a => 'bar', b => 'bar', not_c => 'bar'), +ok($foo->match('!a' => 'bar', b => 'bar', '!c' => 'bar'), 'negated matching works'); |