mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-16 16:41:20 +00:00
more typos
This commit is contained in:
parent
cb39a41a44
commit
9ae692e09d
@ -30,8 +30,6 @@ func TestRoutine(t *testing.T) {
|
|||||||
routine.wait()
|
routine.wait()
|
||||||
}
|
}
|
||||||
|
|
||||||
type incEvent struct{}
|
|
||||||
|
|
||||||
func genStatefulHandler(maxCount int) handleFunc {
|
func genStatefulHandler(maxCount int) handleFunc {
|
||||||
counter := 0
|
counter := 0
|
||||||
return func(event Event) Events {
|
return func(event Event) Events {
|
||||||
@ -73,7 +71,7 @@ func handleWithErrors(event Event) Events {
|
|||||||
|
|
||||||
func TestErrorSaturation(t *testing.T) {
|
func TestErrorSaturation(t *testing.T) {
|
||||||
events := make(chan Event, 10)
|
events := make(chan Event, 10)
|
||||||
routine := newRoutine("statefulRoutine", events, handleWithErrors)
|
routine := newRoutine("errorRoutine", events, handleWithErrors)
|
||||||
|
|
||||||
go routine.run()
|
go routine.run()
|
||||||
go func() {
|
go func() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user