Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 314a2c3 commit 659ea2aCopy full SHA for 659ea2a
tests/RedisTest.php
@@ -154,8 +154,8 @@ public function testBitsets() {
154
// Verify valid offset ranges
155
$this->assertFalse($this->redis->getBit('key', -1));
156
157
- $this->redis->setBit('key', 4294967295, 1);
158
- $this->assertEquals(1, $this->redis->getBit('key', 4294967295));
+ $this->redis->setBit('key', ((2^32)-1), 1);
+ $this->assertEquals(1, $this->redis->getBit('key', ((2^32)-1)));
159
}
160
161
public function testBitPos() {
0 commit comments