fix reversed boolean logic for setbit

This commit is contained in:
Eric Hauser
2011-04-06 23:47:31 -04:00
parent 97dd134eec
commit cf74935721
2 changed files with 4 additions and 4 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);