From 6f980fb52125024b498f11db3276a0ec150a7efe Mon Sep 17 00:00:00 2001 From: doy Date: Wed, 26 Nov 2008 15:01:00 -0500 Subject: can't seem to get Test::Deep to do what i want --- dist.ini | 1 - t/001-channels-and-outputs.t | 9 +++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/dist.ini b/dist.ini index 2f67fe1..2d4ce6f 100644 --- a/dist.ini +++ b/dist.ini @@ -10,4 +10,3 @@ copyright_holder = Jesse Luehrs Log::Dispatch = 0 Carp = 0 Test::More = 0 -Test::Deep = 0 diff --git a/t/001-channels-and-outputs.t b/t/001-channels-and-outputs.t index 832af4d..bc85855 100644 --- a/t/001-channels-and-outputs.t +++ b/t/001-channels-and-outputs.t @@ -1,8 +1,7 @@ #!/usr/bin/env perl use strict; use warnings; -use Test::More tests => 13; -use Test::Deep; +use Test::More tests => 15; use Log::Dispatch::Channels; use Log::Dispatch::Null; @@ -27,12 +26,10 @@ for my $channel (1..3) { isa_ok($logger->channel('1')->output('all'), 'Log::Dispatch::Null'); my $all_output = $logger->output('all'); -my $set = set(); for my $channel (1..3) { - $set->add(shallow($logger->channel($channel)->output('all'))); + is($all_output, $logger->channel($channel)->output('all'), + "output 'all' is shared with channel $channel"); } -cmp_deeply([$all_output], $set, - "output 'all' is shared between all channels"); is($logger->channel('3')->output('one_and_two'), undef, "output 'one_and_two' isn't added to channel '3'"); -- cgit v1.2.3-54-g00ecf