From: Dobrica Pavlinusic Date: Sat, 12 Sep 2009 15:13:40 +0000 (+0000) Subject: test contructor with server argument X-Git-Tag: 0.0801~1 X-Git-Url: http://git.rot13.org/?p=perl-Redis.git;a=commitdiff_plain;h=9d787cbf91248981f136b6319b5d5b86e6ec6d7a;hp=e99389aa9c654dacda29dfe72d070c1f6f9d043c test contructor with server argument git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@62 447b33ff-793d-4489-8442-9bea7d161be5 --- diff --git a/t/01-Redis.t b/t/01-Redis.t index 4dc7a85..cc8d95b 100755 --- a/t/01-Redis.t +++ b/t/01-Redis.t @@ -3,7 +3,7 @@ use warnings; use strict; -use Test::More tests => 107; +use Test::More tests => 108; use Data::Dump qw/dump/; 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";