forked from quic-go/quic-go
pass a string, not an error, to Session.CloseWithError
This commit is contained in:
@@ -83,7 +83,7 @@ func (mr *MockSessionMockRecorder) Close() *gomock.Call {
|
||||
}
|
||||
|
||||
// CloseWithError mocks base method
|
||||
func (m *MockSession) CloseWithError(arg0 protocol.ApplicationErrorCode, arg1 error) error {
|
||||
func (m *MockSession) CloseWithError(arg0 protocol.ApplicationErrorCode, arg1 string) error {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "CloseWithError", arg0, arg1)
|
||||
ret0, _ := ret[0].(error)
|
||||
|
||||
Reference in New Issue
Block a user