X-Git-Url: http://git.rot13.org/?p=perl-Redis.git;a=blobdiff_plain;f=t%2F01-Redis.t;h=2c2ecde8fd6689f373291ae6686ae28ff7ca7871;hp=ff2ee30545f05086de5ded18e57cd0658260760e;hb=b8c759eed57f05e57445c661a30cab09a5fb2707;hpb=b6b3dff7604abbaf448908fd72580a539097d32f diff --git a/t/01-Redis.t b/t/01-Redis.t index ff2ee30..2c2ecde 100755 --- a/t/01-Redis.t +++ b/t/01-Redis.t @@ -3,7 +3,7 @@ use warnings; use strict; -use Test::More tests => 52; +use Test::More tests => 54; use lib 'lib'; @@ -75,4 +75,14 @@ ok( $o->exists( 'test-renamed' ), 'exists test-renamed' ); eval { $o->rename( 'test-decrby', 'test-renamed', 1 ) }; ok( $@, 'rename to existing key' ); +ok( my $nr_keys = $o->dbsize, 'dbsize' ); +diag "dbsize: $nr_keys"; + +diag "Commands operating on lists"; + +ok( $o->rpush( 'test-list' => 'foo' ), 'rpush' ); + + + + ok( $o->quit, 'quit' );