Add tests for classes in the Predis\Protocol\Text namespace.

This was the only namespace containing classes with no tests.
This commit is contained in:
Daniele Alessandri
2012-08-02 17:46:30 +02:00
parent e774a301c4
commit 6e76ea6c7e
15 changed files with 837 additions and 8 deletions
@@ -91,7 +91,7 @@ class TextResponseReader implements ResponseReaderInterface
$prefix = $header[0];
if (!isset($this->handlers[$prefix])) {
$this->protocolError($connection, "Unknown prefix '$prefix'");
$this->protocolError($connection, "Unknown prefix: '$prefix'");
}
$handler = $this->handlers[$prefix];