more typos

This commit is contained in:
Sean Braithwaite 2019-07-30 12:17:35 +02:00
parent cb39a41a44
commit 9ae692e09d

View File

@ -30,8 +30,6 @@ func TestRoutine(t *testing.T) {
routine.wait()
}
type incEvent struct{}
func genStatefulHandler(maxCount int) handleFunc {
counter := 0
return func(event Event) Events {
@ -73,7 +71,7 @@ func handleWithErrors(event Event) Events {
func TestErrorSaturation(t *testing.T) {
events := make(chan Event, 10)
routine := newRoutine("statefulRoutine", events, handleWithErrors)
routine := newRoutine("errorRoutine", events, handleWithErrors)
go routine.run()
go func() {