forked from quic-go/quic-go
move the ApplicationErrorCdoe to the qerr package
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
||||
|
||||
gomock "github.com/golang/mock/gomock"
|
||||
protocol "github.com/lucas-clemente/quic-go/internal/protocol"
|
||||
qerr "github.com/lucas-clemente/quic-go/internal/qerr"
|
||||
)
|
||||
|
||||
// MockStream is a mock of Stream interface.
|
||||
@@ -37,7 +38,7 @@ func (m *MockStream) EXPECT() *MockStreamMockRecorder {
|
||||
}
|
||||
|
||||
// CancelRead mocks base method.
|
||||
func (m *MockStream) CancelRead(arg0 protocol.ApplicationErrorCode) {
|
||||
func (m *MockStream) CancelRead(arg0 qerr.ApplicationErrorCode) {
|
||||
m.ctrl.T.Helper()
|
||||
m.ctrl.Call(m, "CancelRead", arg0)
|
||||
}
|
||||
@@ -49,7 +50,7 @@ func (mr *MockStreamMockRecorder) CancelRead(arg0 interface{}) *gomock.Call {
|
||||
}
|
||||
|
||||
// CancelWrite mocks base method.
|
||||
func (m *MockStream) CancelWrite(arg0 protocol.ApplicationErrorCode) {
|
||||
func (m *MockStream) CancelWrite(arg0 qerr.ApplicationErrorCode) {
|
||||
m.ctrl.T.Helper()
|
||||
m.ctrl.Call(m, "CancelWrite", arg0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user