From 4559de3c158d5c52c19770c02fa69c76ce3aba29 Mon Sep 17 00:00:00 2001 From: toimtoimtoim Date: Fri, 9 Dec 2016 15:10:49 +0200 Subject: [PATCH] fix linux having differenct error message for socket exception --- tests/ModbusMaster/ModbusExceptionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ModbusMaster/ModbusExceptionTest.php b/tests/ModbusMaster/ModbusExceptionTest.php index aa1c6df..89de5ee 100644 --- a/tests/ModbusMaster/ModbusExceptionTest.php +++ b/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() {