use Data::Dumper instead of Data::Dump so all our dependencies are perl core modules
[perl-Redis.git] / t / 10-Redis-List.t
index 478cc46..4910e16 100755 (executable)
@@ -3,9 +3,8 @@
 use warnings;
 use strict;
 
-use Test::More tests => 9;
+use Test::More tests => 8;
 use lib 'lib';
-use Data::Dump qw/dump/;
 
 BEGIN {
        use_ok( 'Redis::List' );
@@ -17,7 +16,7 @@ ok( my $o = tie( @a, 'Redis::List', 'test-redis-list' ), 'tie' );
 
 isa_ok( $o, 'Redis::List' );
 
-ok( $o->CLEAR, 'CLEAR' );
+$o->CLEAR;
 
 ok( ! @a, 'empty list' );
 
@@ -27,4 +26,3 @@ is_deeply( [ @a ], [ 'foo', 'bar', 'baz' ] );
 ok( push( @a, 'push' ), 'push' );
 is_deeply( [ @a ], [ 'foo', 'bar', 'baz', 'push' ] );
 
-diag dump( @a );