Display Output on failed match of expect
Issue #335
resolved
It would be nice if the output of a failed match in an expect could be displayed. This would help in debugging applications that are not matching expected output.
Thanks, Shane
Comments (2)
-
reporter -
repo owner - changed status to resolved
Fixed: Issue
#335: The send/expect test now provides context of the failed pattern in the error message.→ <<cset a9fa112a6710>>
- Log in to comment
FWIW it looks like this functionality was lost when fixing issue
#157about a year ago. The socket_setError was changed to throwing an exception, and it does not look like the buffer is being sent as part of the exception.