mirror of
https://github.com/gissleh/irc.git
synced 2026-09-29 00:05:34 +00:00
Removed test cases pertaining to irc.RemoveHandler
This commit is contained in:
@@ -30,13 +30,6 @@ func TestHandle(t *testing.T) {
|
||||
if !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) {
|
||||
|
||||
Reference in New Issue
Block a user