Minor nitpicking
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Hamcha 2019-07-01 13:02:40 +02:00
parent c85cd0bb8e
commit 096b07031a

View file

@ -32,11 +32,9 @@ type MockServer struct {
}
func makeMockServer(t *testing.T, timeout int) *MockServer {
in := make(chan room.ServerMessage, 99)
out := make(chan room.BotMessage, 99)
srv := &MockServer{
in: in,
out: out,
in: make(chan room.ServerMessage, 99),
out: make(chan room.BotMessage, 99),
t: t,
timeout: time.Duration(timeout) * time.Second,
roomName: TestRoomName,