There was an error while loading. Please reload this page.
1 parent b1771de commit 5730497Copy full SHA for 5730497
1 file changed
tests/RedisTest.php
@@ -939,7 +939,8 @@ public function testExists() {
939
940
/* Test passing an array as well as the keys variadic */
941
$this->assertEquals(count($mkeys), $this->redis->exists($mkeys));
942
- $this->assertEquals(count($mkeys), $this->redis->exists(...$mkeys));
+ if (count($mkeys))
943
+ $this->assertEquals(count($mkeys), $this->redis->exists(...$mkeys));
944
}
945
946
public function testTouch() {
0 commit comments