Browse Source

Removed test cases pertaining to irc.RemoveHandler

master
Gisle Aune 6 years ago
parent
commit
f66b56f710
  1. 7
      handle_test.go

7
handle_test.go

@ -30,13 +30,6 @@ func TestHandle(t *testing.T) {
if !handled { if !handled {
t.Error("Event wasn't handled") t.Error("Event wasn't handled")
} }
handled = false
client.EmitSync(context.Background(), event)
if handled {
t.Error("Event was handled after handler was removed")
}
} }
func BenchmarkHandle(b *testing.B) { func BenchmarkHandle(b *testing.B) {

Loading…
Cancel
Save