added CPAN RT #54841 info
[perl-Redis.git] / t / 01-Redis.t
index ddb3da6..a54d88c 100755 (executable)
@@ -3,8 +3,8 @@
 use warnings;
 use strict;
 
-use Test::More tests => 106;
-use Data::Dump qw/dump/;
+use Test::More tests => 108;
+use Data::Dumper;
 
 use lib 'lib';
 
@@ -16,6 +16,7 @@ ok( my $o = Redis->new(), 'new' );
 
 ok( $o->ping, 'ping' );
 
+ok( $o = Redis->new( server => 'localhost:6379' ), 'new with server' );
 
 diag "Commands operating on string values";
 
@@ -182,7 +183,8 @@ diag "shutdown not tested";
 diag "Remote server control commands";
 
 ok( my $info = $o->info, 'info' );
-diag dump( $info );
+isa_ok( $info, 'HASH' );
+diag Dumper( $info );
 
 diag "Connection handling";