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