mirror of https://github.com/fluffle/goirc
Fix SerialDispatcher test.
This commit is contained in:
parent
1849d886d4
commit
bb703cc945
|
@ -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 :-)
|
||||||
|
|
Loading…
Reference in New Issue