mirror of
https://github.com/fluencelabs/redis
synced 2025-04-07 10:01:04 +00:00
Fix case and indent
This commit is contained in:
parent
8a88c368ed
commit
ecf9401415
@ -705,7 +705,7 @@ void blockForKeys(redisClient *c, robj **keys, int numkeys, time_t timeout, robj
|
|||||||
c->bpop.target = target;
|
c->bpop.target = target;
|
||||||
|
|
||||||
if (target != NULL) {
|
if (target != NULL) {
|
||||||
incrRefCount(target);
|
incrRefCount(target);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (j = 0; j < numkeys; j++) {
|
for (j = 0; j < numkeys; j++) {
|
||||||
|
@ -205,7 +205,7 @@ start_server {
|
|||||||
assert_equal {foo} [r lrange target2 0 -1]
|
assert_equal {foo} [r lrange target2 0 -1]
|
||||||
}
|
}
|
||||||
|
|
||||||
test "linked BRPOPLPUSH" {
|
test "Linked BRPOPLPUSH" {
|
||||||
set rd1 [redis_deferring_client]
|
set rd1 [redis_deferring_client]
|
||||||
set rd2 [redis_deferring_client]
|
set rd2 [redis_deferring_client]
|
||||||
|
|
||||||
@ -221,7 +221,7 @@ start_server {
|
|||||||
assert_equal {foo} [r lrange list3 0 -1]
|
assert_equal {foo} [r lrange list3 0 -1]
|
||||||
}
|
}
|
||||||
|
|
||||||
test "circular BRPOPLPUSH" {
|
test "Circular BRPOPLPUSH" {
|
||||||
set rd1 [redis_deferring_client]
|
set rd1 [redis_deferring_client]
|
||||||
set rd2 [redis_deferring_client]
|
set rd2 [redis_deferring_client]
|
||||||
|
|
||||||
@ -236,7 +236,7 @@ start_server {
|
|||||||
assert_equal {} [r lrange list2 0 -1]
|
assert_equal {} [r lrange list2 0 -1]
|
||||||
}
|
}
|
||||||
|
|
||||||
test "self-referential BRPOPLPUSH" {
|
test "Self-referential BRPOPLPUSH" {
|
||||||
set rd [redis_deferring_client]
|
set rd [redis_deferring_client]
|
||||||
|
|
||||||
r del blist
|
r del blist
|
||||||
|
Loading…
x
Reference in New Issue
Block a user