projects
/
perl-Redis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added CPAN RT #54841 info
[perl-Redis.git]
/
t
/
01-Redis.t
diff --git
a/t/01-Redis.t
b/t/01-Redis.t
index
ddb3da6
..
a54d88c
100755
(executable)
--- a/
t/01-Redis.t
+++ b/
t/01-Redis.t
@@
-3,8
+3,8
@@
use warnings;
use strict;
use warnings;
use strict;
-use Test::More tests => 10
6
;
-use Data::Dump
qw/dump/
;
+use Test::More tests => 10
8
;
+use Data::Dump
er
;
use lib 'lib';
use lib 'lib';
@@
-16,6
+16,7
@@
ok( my $o = Redis->new(), 'new' );
ok( $o->ping, 'ping' );
ok( $o->ping, 'ping' );
+ok( $o = Redis->new( server => 'localhost:6379' ), 'new with server' );
diag "Commands operating on string values";
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 "Remote server control commands";
ok( my $info = $o->info, 'info' );
-diag dump( $info );
+isa_ok( $info, 'HASH' );
+diag Dumper( $info );
diag "Connection handling";
diag "Connection handling";