From 9ae692e09d7c44f5355384674a92e33a89ad8b8f Mon Sep 17 00:00:00 2001 From: Sean Braithwaite Date: Tue, 30 Jul 2019 12:17:35 +0200 Subject: [PATCH] more typos --- blockchain/v2/routines_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/blockchain/v2/routines_test.go b/blockchain/v2/routines_test.go index d84081c9..4f03e5b8 100644 --- a/blockchain/v2/routines_test.go +++ b/blockchain/v2/routines_test.go @@ -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() {