projects
/
perl-Redis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cleanup fails on empty database
[perl-Redis.git]
/
t
/
10-Redis-List.t
diff --git
a/t/10-Redis-List.t
b/t/10-Redis-List.t
index
478cc46
..
13bd7de
100755
(executable)
--- a/
t/10-Redis-List.t
+++ b/
t/10-Redis-List.t
@@
-3,7
+3,7
@@
use warnings;
use strict;
-use Test::More tests =>
9
;
+use Test::More tests =>
8
;
use lib 'lib';
use Data::Dump qw/dump/;
@@
-17,7
+17,7
@@
ok( my $o = tie( @a, 'Redis::List', 'test-redis-list' ), 'tie' );
isa_ok( $o, 'Redis::List' );
-
ok( $o->CLEAR, 'CLEAR' )
;
+
$o->CLEAR
;
ok( ! @a, 'empty list' );