From 096b07031acf73d5165d0177309f6497875cd445 Mon Sep 17 00:00:00 2001 From: Hamcha Date: Mon, 1 Jul 2019 13:02:40 +0200 Subject: [PATCH] Minor nitpicking --- draftbot/draftbot_test.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/draftbot/draftbot_test.go b/draftbot/draftbot_test.go index 0ab1c63..82a01a0 100644 --- a/draftbot/draftbot_test.go +++ b/draftbot/draftbot_test.go @@ -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,