Permalink
Please sign in to comment.
Showing
with
39 additions
and 0 deletions.
- +24 −0 lib/Redis.pm
- +15 −0 t/02-pub;pma&sub.t
24
lib/Redis.pm
@@ -0,0 +1,15 @@ | ||
+use v6; | ||
+ | ||
+BEGIN { @*INC.push('t/') }; | ||
+use Redis; | ||
+use Test; | ||
+use Test::SpawnRedisServer; | ||
+ | ||
+my $r = Redis.new(decode_response => True); | ||
+$r.connect; | ||
+$r.flushall; | ||
+ | ||
+plan 1; | ||
+ | ||
+# TODO | ||
+is_deeply $r.publish("queue", "data"), 0; |
0 comments on commit
f7a151b