Esempio n. 1
0
 /**
  * @group redis-strings
  */
 public function testGetRange()
 {
     $this->assertSame('', $this->client->getrange('foo', 0, -1));
     $this->client->set('foo', 'Hello World');
     $this->assertSame('ello Worl', $this->client->getrange('foo', 1, -2));
     $this->assertSame('World', $this->client->getrange('foo', -5, -1));
 }