diff --git a/driver/generic/sendwithcallbacks.go b/driver/generic/sendwithcallbacks.go index e4d6ce7..9befa59 100644 --- a/driver/generic/sendwithcallbacks.go +++ b/driver/generic/sendwithcallbacks.go @@ -231,7 +231,12 @@ func (d *Driver) SendWithCallbacks( driverOpts.FailedWhenContains = d.FailedWhenContains } - r := response.NewResponse(input, d.Transport.GetHost(), d.Transport.GetPort(), driverOpts.FailedWhenContains) + r := response.NewResponse( + input, + d.Transport.GetHost(), + d.Transport.GetPort(), + driverOpts.FailedWhenContains, + ) if input != "" { err := d.Channel.WriteAndReturn([]byte(input), false)