make _sock_result private, type
[perl-Redis.git] / t / 01-Redis.t
index 3e53cf3..ff41882 100755 (executable)
@@ -3,7 +3,7 @@
 use warnings;
 use strict;
 
-use Test::More tests => 43;
+use Test::More tests => 44;
 
 use lib 'lib';
 
@@ -56,4 +56,6 @@ foreach ( 1 .. 3 ) {
 
 ok( $o->del('key-next' ), 'del' );
 
+cmp_ok( $o->type('foo'), 'eq', 'string', 'type' );
+
 ok( $o->quit, 'quit' );