mirror of
https://github.com/fluffle/goirc
synced 2025-05-23 16:03:19 +00:00
Fix SerialDispatcher test.
This commit is contained in:
parent
2f31ca5dcf
commit
4994263773
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue