use warnings;
use strict;
-use Test::More tests => 86;
+use Test::More tests => 88;
use lib 'lib';
ok( $o->ping, 'ping' );
+diag "Commands operating on string values";
+
ok( $o->set( foo => 'bar' ), 'set foo => bar' );
eval { $o->set( foo => 'bar', 1 ) };
ok( ! $o->rpop( $list ), 'rpop' );
-# Commands operating on sets
+
+diag "Commands operating on sets";
my $set = 'test-set';
$o->del($set);
cmp_ok( $o->scard( 'test-set-inter' ), '==', $#$inter + 1, 'cardinality of intersection' );
+
+diag "Multiple databases handling commands";
+
+ok( $o->select( 1 ), 'select' );
+ok( $o->select( 0 ), 'select' );
+
+
+diag "Connection handling";
+
ok( $o->quit, 'quit' );