@@ -93,7 +93,7 @@ testEarlyDisconnect nextPort = do
9393 ConnectionOpened cid _ addr <- receive endpoint
9494 True <- return $ addr == theirAddr
9595
96− ErrorEvent (TransportError (EventConnectionLost addr' [cid']) _) <- receive endpoint
96+ ErrorEvent (TransportError (EventConnectionLost (Just addr') [cid']) _) <- receive endpoint
9797 True <- return $ addr' == theirAddr && cid' == cid
9898
9999 return ()
@@ -116,7 +116,7 @@ testEarlyDisconnect nextPort = do
116116 Received cid' ["pong"] <- receive endpoint
117117 True <- return $ cid == cid'
118118
119− ErrorEvent (TransportError (EventConnectionLost addr' [cid'']) _) <- receive endpoint
119+ ErrorEvent (TransportError (EventConnectionLost (Just addr') [cid'']) _) <- receive endpoint
120120 True <- return $ addr' == theirAddr && cid'' == cid
121121
122122 return ()
@@ -227,7 +227,7 @@ testEarlyCloseSocket nextPort = do
227227 ConnectionClosed cid'' <- receive endpoint
228228 True <- return $ cid'' == cid
229229
230− ErrorEvent (TransportError (EventConnectionLost addr' []) _) <- receive endpoint
230+ ErrorEvent (TransportError (EventConnectionLost (Just addr') []) _) <- receive endpoint
231231 True <- return $ addr' == theirAddr
232232
233233 return ()