From f66b56f710d431df825f8ba00386f0bc9dc73bed Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Sun, 5 Aug 2018 11:28:41 +0200 Subject: [PATCH] Removed test cases pertaining to irc.RemoveHandler --- handle_test.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/handle_test.go b/handle_test.go index e48ffe9..7a4a265 100644 --- a/handle_test.go +++ b/handle_test.go @@ -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) {