From bb703cc945dcae1b40219dec29c350c0d8e052e0 Mon Sep 17 00:00:00 2001 From: Alex Bramley Date: Fri, 29 Jul 2011 23:11:05 +0100 Subject: [PATCH] Fix SerialDispatcher test. --- event/registry_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event/registry_test.go b/event/registry_test.go index abc1744..921c145 100644 --- a/event/registry_test.go +++ b/event/registry_test.go @@ -66,7 +66,7 @@ func TestParallelDispatch(t *testing.T) { func TestSerialDispatch(t *testing.T) { r := NewRegistry() - r.Serial() + r.(*registry).Serial() // ensure we have enough of a buffer that all sends complete out := make(chan int, 5) // handler factory :-)