diff options
Diffstat (limited to 'server/fsm_test.go')
-rw-r--r-- | server/fsm_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/fsm_test.go b/server/fsm_test.go index ef962598..6f18014d 100644 --- a/server/fsm_test.go +++ b/server/fsm_test.go @@ -46,6 +46,10 @@ func NewMockConnection() *MockConnection { return m } +func (m *MockConnection) SetWriteDeadline(t time.Time) error { + return nil +} + func (m *MockConnection) setData(data []byte) int { dataChan := make(chan byte, 4096) for _, b := range data { |