File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ func TestRun(t *testing.T) {
6363 }
6464 })
6565
66- t .Run ("cancelation " , func (t * testing.T ) {
66+ t .Run ("cancellation " , func (t * testing.T ) {
6767 ctx , cancel := context .WithTimeout (context .Background (), 50 * time .Millisecond )
6868 defer cancel ()
6969
@@ -164,15 +164,15 @@ func TestDone(t *testing.T) {
164164
165165 select {
166166 case <- time .After (timeout ):
167- t .Error ("done channel closing timmed out" )
167+ t .Error ("done channel closing timed out" )
168168 case <- sim .Done ():
169169 if d := time .Since (start ); d < sleep {
170170 t .Errorf ("done channel closed sooner then expected: %s" , d )
171171 }
172172 }
173173}
174174
175- // a helper map for usual services that do not do anyting
175+ // a helper map for usual services that do not do anything
176176var noopServiceFuncMap = map [string ]ServiceFunc {
177177 "noop" : noopServiceFunc ,
178178}
You can’t perform that action at this time.
0 commit comments