Fix tests for irc package on legacy go.
parent
91dd783b6b
commit
ba55cda22b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue