diff options
author | doy <doy@tozt.net> | 2008-12-06 23:01:55 -0500 |
---|---|---|
committer | doy <doy@tozt.net> | 2008-12-06 23:01:55 -0500 |
commit | 912aaa8014218f499f3007175e5d23a779389811 (patch) | |
tree | 48f84a0b291ad62a8307372ecbe0d1f3a61ea60e /t | |
parent | c9bf554fff299bb429b7f93c474c97d14b749e3f (diff) | |
download | moosex-role-matcher-912aaa8014218f499f3007175e5d23a779389811.tar.gz moosex-role-matcher-912aaa8014218f499f3007175e5d23a779389811.zip |
use Test::Deep correctly
Diffstat (limited to 't')
-rw-r--r-- | t/100-collection.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/100-collection.t b/t/100-collection.t index 4a29e4d..d128727 100644 --- a/t/100-collection.t +++ b/t/100-collection.t @@ -55,5 +55,5 @@ is($foos->first_match(a => ''), $foo2, 'first_match works'); ok(!$foos->any_match(b => qr/z/), 'any_match works'); -is_deeply([shallow($foo2), shallow($foo3)], set($foos->grep_matches(c => qr/o/)), +cmp_deeply([$foos->grep_matches(c => qr/o/)], set(shallow($foo2), shallow($foo3)), 'grep_matches works'); |