Merge pull request #121 from ewhauser/master

Fix bug in getbit/setbit and add bit commands to ShardedJedisPipeline
This commit is contained in:
Jonathan Leibiusky
2011-05-11 19:29:37 -07:00
3 changed files with 30 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ public class BitCommandsTest extends JedisCommandTestBase {
assertEquals(false, bit);
bit = jedis.getbit("foo", 0);
assertEquals(false, bit);
assertEquals(true, bit);
long bbit = jedis.setbit("bfoo".getBytes(), 0, "1".getBytes());
assertEquals(0, bbit);