Browse Source

Forgot to save unit test

master
Gisle Aune 6 years ago
parent
commit
c2f95a664c
  1. 2
      handle_test.go

2
handle_test.go

@ -18,7 +18,7 @@ func TestHandle(t *testing.T) {
event := irc.NewEvent("test", eventName)
handled := false
handle := irc.Handle(func(event *irc.Event, client *irc.Client) {
irc.Handle(func(event *irc.Event, client *irc.Client) {
t.Log("Got:", event.Kind(), event.Verb())
if event.Kind() == "test" && event.Verb() == eventName {

Loading…
Cancel
Save