Skip to content

Commit 5c4d937

Browse files
committed
Removed test failing with old versions of Redis.
1 parent e7dfc24 commit 5c4d937

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/TestRedis.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1842,8 +1842,8 @@ public function testSetRange() {
18421842
$this->assertTrue('hello youis' === $this->redis->get('key'));
18431843

18441844
$this->redis->set('key', 'hello world');
1845-
$this->assertTrue(11 === $this->redis->setRange('key', -6, 'redis')); // works with negative offsets too!
1846-
$this->assertTrue('hello redis' === $this->redis->get('key'));
1845+
// $this->assertTrue(11 === $this->redis->setRange('key', -6, 'redis')); // works with negative offsets too! (disabled because not all versions support this)
1846+
// $this->assertTrue('hello redis' === $this->redis->get('key'));
18471847

18481848
// fill with zeros if needed
18491849
$this->redis->delete('key');

0 commit comments

Comments
 (0)