Fix tests for irc package on legacy go.

configurable-file-paths
Robert Gerus 2015-11-29 16:31:01 +01:00
parent 91dd783b6b
commit ba55cda22b
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ func TestSetup(t *testing.T) {
}
}
func fakeDispatcher(output chan Message, input Message) {
func fakeDispatcher(output func(Message), input Message) {
// nullify Context as it isn't transmitted over the wire
input.Context = make(map[string]string)
actualInput = append(actualInput, input)