mirror of
https://github.com/gissleh/irc.git
synced 2026-10-28 20:12:53 +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 {
|
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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user