Fix SerialDispatcher test.

This commit is contained in:
Alex Bramley 2011-07-29 23:11:05 +01:00
parent 2f31ca5dcf
commit 4994263773
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ func TestParallelDispatch(t *testing.T) {
func TestSerialDispatch(t *testing.T) { func TestSerialDispatch(t *testing.T) {
r := NewRegistry() r := NewRegistry()
r.Serial() r.(*registry).Serial()
// ensure we have enough of a buffer that all sends complete // ensure we have enough of a buffer that all sends complete
out := make(chan int, 5) out := make(chan int, 5)
// handler factory :-) // handler factory :-)