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 0ad8482 commit e839d24Copy full SHA for e839d24
tests/TestRedis.php
@@ -383,8 +383,14 @@ public function testIncr()
383
384
$this->redis->incr('key');
385
$this->assertTrue("abc" === $this->redis->get('key'));
386
+ }
387
- // incrbyfloat
388
+ public function testIncrByFloat()
389
+ {
390
+ // incrbyfloat is new in 2.6.0
391
+ if (version_compare($this->version, "2.5.0", "lt")) {
392
+ return;
393
394
395
$this->redis->delete('key');
396
0 commit comments