mirror of
https://github.com/predis/predis.git
synced 2026-08-24 17:49:34 +00:00
Fix and reword some exception messages.
This commit is contained in:
@@ -40,7 +40,7 @@ class StreamConnectionTest extends PredisConnectionTestCase
|
||||
/**
|
||||
* @group disconnected
|
||||
* @expectedException InvalidArgumentException
|
||||
* @expectedExceptionMessage Invalid scheme: udp
|
||||
* @expectedExceptionMessage Invalid scheme: 'udp'.
|
||||
*/
|
||||
public function testThrowsExceptionOnInvalidScheme()
|
||||
{
|
||||
@@ -86,7 +86,7 @@ class StreamConnectionTest extends PredisConnectionTestCase
|
||||
/**
|
||||
* @group connected
|
||||
* @expectedException Predis\Protocol\ProtocolException
|
||||
* @expectedExceptionMessage Unknown prefix: 'P'
|
||||
* @expectedExceptionMessage Unknown response prefix: 'P'.
|
||||
*/
|
||||
public function testThrowsExceptionOnProtocolDesynchronizationErrors()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user