projects
/
perl-Redis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test contructor with server argument
[perl-Redis.git]
/
t
/
01-Redis.t
diff --git
a/t/01-Redis.t
b/t/01-Redis.t
index
4dc7a85
..
cc8d95b
100755
(executable)
--- a/
t/01-Redis.t
+++ b/
t/01-Redis.t
@@
-3,7
+3,7
@@
use warnings;
use strict;
use warnings;
use strict;
-use Test::More tests => 10
7
;
+use Test::More tests => 10
8
;
use Data::Dump qw/dump/;
use lib 'lib';
use Data::Dump qw/dump/;
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";