Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 9c45b7d610
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (13 sloc) 0.313 kB
use v6;
BEGIN { @*INC.push('t', 'lib') };
use Redis;
use Test;
use Test::SpawnRedisServer;
my $r = Redis.new(decode_response=>True);
$r.connect;
$r.flushall;
plan 1;
# bug: multi-bytes chars and \r\n in data
my $str = "中文 string contains newlines\r\n";
$r.set("key", $str);
is_deeply $r.get("key"), $str;
Jump to Line
Something went wrong with that request. Please try again.