From ecf940141501e47dcc8dfecbc84a4e3f6ee7b0d3 Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Mon, 6 Dec 2010 16:04:42 +0100 Subject: [PATCH] Fix case and indent --- src/t_list.c | 2 +- tests/unit/type/list.tcl | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/t_list.c b/src/t_list.c index 866a6a3e..867e258a 100644 --- a/src/t_list.c +++ b/src/t_list.c @@ -705,7 +705,7 @@ void blockForKeys(redisClient *c, robj **keys, int numkeys, time_t timeout, robj c->bpop.target = target; if (target != NULL) { - incrRefCount(target); + incrRefCount(target); } for (j = 0; j < numkeys; j++) { diff --git a/tests/unit/type/list.tcl b/tests/unit/type/list.tcl index 8ac128c5..6b128b72 100644 --- a/tests/unit/type/list.tcl +++ b/tests/unit/type/list.tcl @@ -205,7 +205,7 @@ start_server { assert_equal {foo} [r lrange target2 0 -1] } - test "linked BRPOPLPUSH" { + test "Linked BRPOPLPUSH" { set rd1 [redis_deferring_client] set rd2 [redis_deferring_client] @@ -221,7 +221,7 @@ start_server { assert_equal {foo} [r lrange list3 0 -1] } - test "circular BRPOPLPUSH" { + test "Circular BRPOPLPUSH" { set rd1 [redis_deferring_client] set rd2 [redis_deferring_client] @@ -236,7 +236,7 @@ start_server { assert_equal {} [r lrange list2 0 -1] } - test "self-referential BRPOPLPUSH" { + test "Self-referential BRPOPLPUSH" { set rd [redis_deferring_client] r del blist -- GitLab