3 |
use warnings; |
use warnings; |
4 |
use strict; |
use strict; |
5 |
|
|
6 |
use Test::More tests => 92; |
use Test::More tests => 94; |
7 |
|
|
8 |
use lib 'lib'; |
use lib 'lib'; |
9 |
|
|
157 |
ok( $o->select( 1 ), 'select' ); |
ok( $o->select( 1 ), 'select' ); |
158 |
ok( $o->exists( 'foo' ), 'exists' ); |
ok( $o->exists( 'foo' ), 'exists' ); |
159 |
|
|
160 |
|
ok( $o->flushdb, 'flushdb' ); |
161 |
|
cmp_ok( $o->dbsize, '==', 0, 'empty' ); |
162 |
|
|
163 |
diag "Connection handling"; |
diag "Connection handling"; |
164 |
|
|
165 |
ok( $o->quit, 'quit' ); |
ok( $o->quit, 'quit' ); |