fix linux having differenct error message for socket exception

pull/3/head
toimtoimtoim 8 years ago
parent 7ea3d8007e
commit 4559de3c15
  1. 2
      tests/ModbusMaster/ModbusExceptionTest.php

@ -19,7 +19,7 @@ class ModbusExceptionTest extends MockServerTestCase
/**
* @expectedException \Exception
* @expectedExceptionMessage socket_connect() failed. Reason: ()No connection could be made because the target machine actively refused it
* @expectedExceptionMessage socket_connect() failed. Reason: ()
*/
public function testPortClosedException()
{

Loading…
Cancel
Save