projects
/
perl-Redis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
set, get
[perl-Redis.git]
/
t
/
01-Redis.t
diff --git
a/t/01-Redis.t
b/t/01-Redis.t
index
1235189
..
b0c52fc
100755
(executable)
--- a/
t/01-Redis.t
+++ b/
t/01-Redis.t
@@
-3,7
+3,7
@@
use warnings;
use strict;
-use Test::More tests =>
4
;
+use Test::More tests =>
6
;
use lib 'lib';
@@
-15,4
+15,7
@@
ok( my $o = Redis->new(), 'new' );
ok( $o->ping, 'ping' );
+ok( $o->set( foo => 'bar' ), 'set foo' );
+cmp_ok( $o->get( 'foo' ), 'eq', 'bar', 'get foo' );
+
ok( $o->quit, 'quit' );