From 912aaa8014218f499f3007175e5d23a779389811 Mon Sep 17 00:00:00 2001 From: doy Date: Sat, 6 Dec 2008 23:01:55 -0500 Subject: use Test::Deep correctly --- t/100-collection.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't') 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'); -- cgit v1.2.3-54-g00ecf