X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=t%2F01-Redis.t;h=4dc7a85d9d2cd8c814a20751b42b795cddea5edd;hb=e99389aa9c654dacda29dfe72d070c1f6f9d043c;hp=90247e93e97f7da8d30a6c59c3a7ad43947df69b;hpb=1c86d14ac182dfeea2d8ca2fb937401a558b0a35;p=perl-Redis.git diff --git a/t/01-Redis.t b/t/01-Redis.t index 90247e9..4dc7a85 100755 --- a/t/01-Redis.t +++ b/t/01-Redis.t @@ -3,7 +3,7 @@ use warnings; use strict; -use Test::More tests => 106; +use Test::More tests => 107; use Data::Dump qw/dump/; use lib 'lib'; @@ -138,7 +138,7 @@ cmp_ok( $o->scard( $set ), '==', 0, 'scard' ); $o->sadd( 'test-set1', $_ ) foreach ( 'foo', 'bar', 'baz' ); $o->sadd( 'test-set2', $_ ) foreach ( 'foo', 'baz', 'xxx' ); -my $inter = [ 'baz', 'foo' ]; +my $inter = [ 'foo', 'baz' ]; is_deeply( [ $o->sinter( 'test-set1', 'test-set2' ) ], $inter, 'siter' ); @@ -182,6 +182,7 @@ diag "shutdown not tested"; diag "Remote server control commands"; ok( my $info = $o->info, 'info' ); +isa_ok( $info, 'HASH' ); diag dump( $info ); diag "Connection handling";